Skip to content

Commit

Permalink
fix priority wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jan 1, 2024
1 parent 059598a commit a46d31e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions integration_tests/configs/accounts.jsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
accounts: [{
name: 'community',
coins: '100cro',
coins: '100cro,10000000000000000000000aphoton',
}, {
name: 'ecosystem',
coins: '200cro',
Expand All @@ -11,10 +11,10 @@
}],
signers: [{
name: 'signer1',
coins: '10000cro',
coins: '10000cro,100000000000000000000000aphoton',
}, {
name: 'signer2',
coins: '2000cro',
coins: '2000cro,200000000000000000000000aphoton',
}],
reserves: [{
name: 'reserve',
Expand Down
5 changes: 4 additions & 1 deletion integration_tests/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def transfer(self, from_, to, coins, generate_only=False, **kwargs):
"chain_id": self.chain_id,
"node": self.node_rpc,
}
return json.loads(
rsp = json.loads(
self.raw(
"tx",
"bank",
Expand All @@ -124,6 +124,9 @@ def transfer(self, from_, to, coins, generate_only=False, **kwargs):
**(default_kwargs | kwargs),
)
)
if not generate_only and rsp["code"] == 0:
rsp = self.event_query_tx_for(rsp["txhash"])
return rsp

def sign_tx(self, tx_file, signer):
return json.loads(
Expand Down

0 comments on commit a46d31e

Please sign in to comment.