Skip to content

Commit

Permalink
Fixes e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed May 31, 2023
1 parent 6b7c56e commit 2fde40c
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ fn wrapper_fee_unshielding() -> Result<()> {
"--token",
NAM,
"--amount",
"499900",
"1",
"--gas-limit",
"30",
"--ledger-address",
Expand All @@ -611,9 +611,9 @@ fn wrapper_fee_unshielding() -> Result<()> {
"--token",
NAM,
"--amount",
"500000",
"50000",
"--gas-limit",
"30",
"100",
"--ledger-address",
&validator_one_rpc,
],
Expand Down Expand Up @@ -653,7 +653,7 @@ fn wrapper_fee_unshielding() -> Result<()> {
"--amount",
"1",
"--gas-limit",
"30",
"1",
"--fee-spending-key",
A_SPENDING_KEY,
"--ledger-address",
Expand Down Expand Up @@ -800,7 +800,7 @@ fn masp_txs_and_queries() -> Result<()> {
"--amount",
"20",
"--gas-limit",
"20",
"100",
"--node",
&validator_one_rpc,
],
Expand Down Expand Up @@ -842,7 +842,7 @@ fn masp_txs_and_queries() -> Result<()> {
"--signer",
ALBERT,
"--gas-limit",
"30",
"100",
"--node",
&validator_one_rpc,
],
Expand All @@ -863,7 +863,7 @@ fn masp_txs_and_queries() -> Result<()> {
"--signer",
ALBERT,
"--gas-limit",
"30",
"100",
"--node",
&validator_one_rpc,
],
Expand Down Expand Up @@ -905,7 +905,7 @@ fn masp_txs_and_queries() -> Result<()> {
"--signer",
ALBERT,
"--gas-limit",
"30",
"100",
"--node",
&validator_one_rpc,
],
Expand Down Expand Up @@ -2536,7 +2536,7 @@ fn pos_init_validator() -> Result<()> {
BERTHA,
"--unsafe-dont-encrypt",
"--gas-limit",
"30",
"100",
"--commission-rate",
"0.05",
"--max-commission-rate-change",
Expand All @@ -2561,7 +2561,7 @@ fn pos_init_validator() -> Result<()> {
"--amount",
"10000.5",
"--gas-limit",
"20",
"100",
"--node",
&validator_one_rpc,
];
Expand All @@ -2578,7 +2578,7 @@ fn pos_init_validator() -> Result<()> {
"--amount",
"1000.5",
"--gas-limit",
"30",
"100",
"--node",
&validator_one_rpc,
];
Expand All @@ -2596,9 +2596,9 @@ fn pos_init_validator() -> Result<()> {
"--token",
NAM,
"--amount",
"10999.5",
"100999.5",
"--gas-limit",
"20",
"100",
"--node",
&validator_one_rpc,
];
Expand All @@ -2612,9 +2612,9 @@ fn pos_init_validator() -> Result<()> {
"--validator",
new_validator,
"--amount",
"10000",
"1",
"--gas-limit",
"30",
"100",
"--node",
&validator_one_rpc,
];
Expand Down Expand Up @@ -2645,7 +2645,7 @@ fn pos_init_validator() -> Result<()> {
// 7. Check the new validator's bonded stake
let bonded_stake =
find_bonded_stake(&test, new_validator, &validator_one_rpc)?;
assert_eq!(bonded_stake, token::Amount::from_str("11_000.5").unwrap());
assert_eq!(bonded_stake, token::Amount::from_str("1001.5").unwrap());

Ok(())
}
Expand Down Expand Up @@ -3366,7 +3366,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--amount",
"900",
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand All @@ -3385,7 +3385,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--data-path",
valid_proposal_json_path.to_str().unwrap(),
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand All @@ -3403,7 +3403,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--data-path",
valid_proposal_json_path.to_str().unwrap(),
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand Down Expand Up @@ -3487,7 +3487,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--signer",
"validator-0",
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand Down Expand Up @@ -3515,7 +3515,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--signer",
BERTHA,
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand All @@ -3536,7 +3536,7 @@ fn pgf_governance_proposal() -> Result<()> {
"--signer",
BERTHA,
"--gas-limit",
"100",
"150",
"--ledger-address",
&validator_one_rpc,
];
Expand Down

0 comments on commit 2fde40c

Please sign in to comment.