From a0b142eb08997033313ac736c8cb9200bf52d7c7 Mon Sep 17 00:00:00 2001 From: Brandon Weng <18161326+BrandonWeng@users.noreply.github.com> Date: Fri, 30 Jun 2023 15:09:08 -0400 Subject: [PATCH] done --- .../bank_module/simulation_tx.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/integration_test/bank_module/simulation_tx.yaml b/integration_test/bank_module/simulation_tx.yaml index 59fe3dd71d..d0b138b33f 100644 --- a/integration_test/bank_module/simulation_tx.yaml +++ b/integration_test/bank_module/simulation_tx.yaml @@ -1,26 +1,26 @@ - name: Test simulation sending funds inputs: # Create test account - - cmd: seid keys add bank-test --keyring-backend test + - cmd: seid keys add simulation-test --keyring-backend test - cmd: printf "12345678\n" | seid keys show -a admin env: ADMIN_ACC - - cmd: seid keys show -a bank-test --keyring-backend test - env: BANK_TEST_ACC + - cmd: seid keys show -a simulation-test --keyring-backend test + env: SIMULATION_TEST_ACC # Send funds - - cmd: printf "12345678\n" | seid tx bank send $ADMIN_ACC $BANK_TEST_ACC 1sei -b block --fees 2000usei --chain-id sei -y + - cmd: printf "12345678\n" | seid tx bank send $ADMIN_ACC $SIMULATION_TEST_ACC 1sei -b block --fees 2000usei --chain-id sei -y - - cmd: seid tx bank send $ADMIN_ACC $BANK_TEST_ACC 1000sei --from $ADMIN_ACC --chain-id sei -b block -y --dry-run --keyring-backend test + - cmd: seid tx bank send $ADMIN_ACC $SIMULATION_TEST_ACC 1000sei --from $ADMIN_ACC --chain-id sei -b block -y --dry-run --keyring-backend test env: GAS_ESIMATE # Validate that only the 1sei is sent - - cmd: seid q bank balances $BANK_TEST_ACC --output json | jq -r .balances[0].amount - env: BANK_TEST_BAL + - cmd: seid q bank balances $SIMULATION_TEST_ACC --output json | jq -r .balances[0].amount + env: SIMULATION_TEST_ACC_BALANCE verifiers: # Bank balance should be 1sei - # - type: eval - # expr: BANK_TEST_BAL == 1000000 + - type: eval + expr: SIMULATION_TEST_ACC_BALANCE == 1000000 - type: regex - expr: "gas_estimate: [0-9]+" + expr: "^gas estimate.*[0-9]+" result: GAS_ESIMATE