forked from cerc-io/registry-sdk
Add tests for querying bond
This commit is contained in:
1 parent
19d5405087
commit
7fe5bcda83
8 files changed
+221
-20
No files matched your search
@@ -1,5 +1,7 @@
|
||||
const DEFAULT_PRIVATE_KEY = '0451f0bd95c855d52e76cdc8dd06f29097b944bfef26d3455725157f9133f4e0';
|
||||
const DEFAULT_ADDRESS = 'ethm19n3je0lhuk0w9kmkftsuw4etn8lmpu3jjfayeh'
|
||||
const DEFAULT_PRIVATE_KEY = '794ce0bf3c75571416001c3415e69059aeba54038bcac8ce5b9792259e6d193b';
|
||||
const DEFAULT_ADDRESS = 'ethm10atmndy7sm46829rc3yr7cxqucgrz5e9jg58xp'
|
||||
|
||||
export const wait = (time: number) => new Promise(resolve => setTimeout(resolve, time))
|
||||
|
||||
export const getConfig = () => ({
|
||||
mockServer: process.env.MOCK_SERVER || false,
|
||||
@@ -7,7 +9,8 @@ export const getConfig = () => ({
|
||||
chainId: process.env.CHIBA_CLONK_CHAIN_ID || 'ethermint_9000-1',
|
||||
privateKey: DEFAULT_PRIVATE_KEY,
|
||||
accountAddress: DEFAULT_ADDRESS,
|
||||
endpoint: process.env.CHIBA_CLONK_ENDPOINT || 'http://localhost:1317',
|
||||
restEndpoint: process.env.CHIBA_CLONK_REST_ENDPOINT || 'http://localhost:1317',
|
||||
gqlEndpoint: process.env.CHIBA_CLONK_GQL_ENDPOINT || 'http://localhost:9473/api',
|
||||
fee: {
|
||||
amount: '20',
|
||||
denom: 'aphoton',
|
||||
|
||||
Reference in new issue
Block a user