Skip to content

Commit

Permalink
// WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajbouw committed Aug 8, 2022
1 parent 8c8ce67 commit c90ecc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engine-tests/src/test_utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ impl AuroraRunner {
let signed_tx = sign_transaction(tx, Some(self.chain_id), account);
let (output, maybe_err) =
self.call(SUBMIT, calling_account_id, rlp::encode(&signed_tx).to_vec());
panic!("{:?}", maybe_err);
assert!(maybe_err.is_none());
let submit_result =
SubmitResult::try_from_slice(&output.unwrap().return_data.as_value().unwrap()).unwrap();
Expand Down Expand Up @@ -604,6 +605,7 @@ pub(crate) fn deploy_evm() -> AuroraRunner {
let account_id = runner.aurora_account_id.clone();
let (_, maybe_error) = runner.call("new", &account_id, args.try_to_vec().unwrap());

panic!("{:?}", maybe_error);
assert!(maybe_error.is_none());

let args = InitCallArgs {
Expand Down
2 changes: 1 addition & 1 deletion engine-tests/src/tests/contract_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::test_utils::exit_precompile::{Tester, TesterConstructor, DEST_ACCOUNT
fn setup_test() -> (AuroraRunner, Signer, Address, Tester) {
let mut runner = AuroraRunner::new();
let token = runner.deploy_erc20_token(&"tt.testnet".to_string());
let mut signer = test_utils::Signer::random();
let mut signer = Signer::random();
runner.create_address(
test_utils::address_from_secret_key(&signer.secret_key),
Wei::from_eth(1.into()).unwrap(),
Expand Down

0 comments on commit c90ecc4

Please sign in to comment.