@net-protocol/cli 0.1.30 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/feed/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk12 from 'chalk';
|
|
2
2
|
import { FeedRegistryClient, FeedClient, AgentRegistryClient } from '@net-protocol/feeds';
|
|
3
|
-
import { NULL_ADDRESS, getChainRpcUrls, NetClient } from '@net-protocol/core';
|
|
3
|
+
import { NULL_ADDRESS, getChainRpcUrls, getBaseDataSuffix, NetClient } from '@net-protocol/core';
|
|
4
4
|
import '@net-protocol/storage';
|
|
5
5
|
import * as fs from 'fs';
|
|
6
6
|
import * as path from 'path';
|
|
@@ -500,7 +500,8 @@ function createWallet(privateKey, chainId, rpcUrl) {
|
|
|
500
500
|
});
|
|
501
501
|
return createWalletClient({
|
|
502
502
|
account,
|
|
503
|
-
transport: http(rpcUrls[0])
|
|
503
|
+
transport: http(rpcUrls[0]),
|
|
504
|
+
dataSuffix: getBaseDataSuffix(chainId)
|
|
504
505
|
});
|
|
505
506
|
}
|
|
506
507
|
async function executeTransaction(walletClient, txConfig) {
|