Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Apr 25, 2024
1 parent d5e52c7 commit 3e5febd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
zombienet-linux setup polkadot
Please add the dir to your $PATH by running the command:
export PATH=/home/<username>/zombienet/dist:$PATH
export PATH=/home/<username>/RegionX-Node/:$PATH
```
4. Run the test:
Expand Down
3 changes: 2 additions & 1 deletion e2e_tests/native-fee-payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ async function run(nodeName, networkInfo, _jsArgs) {
// account to submit tx
const keyring = new zombie.Keyring({ type: "sr25519" });
const alice = keyring.addFromUri("//Alice");
const bob = keyring.addFromUri("//Bob");

const call = api.tx.balances.transferKeepAlive(BOB, 10n**6n);
const call = api.tx.balances.transferKeepAlive(bob.address, 10n**6n);
const sudo = api.tx.sudo.sudo(call);
await submitExtrinsic(alice, sudo, {});
}
Expand Down
2 changes: 1 addition & 1 deletion zombienet_tests/0002-native-fee-payment.zndsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Description: Native currency fee payment
Network: ./0002-native-fee-payment.zndsl
Network: ./0002-native-fee-payment.toml
Creds: config

alice: is up
Expand Down

0 comments on commit 3e5febd

Please sign in to comment.