Skip to content

Commit

Permalink
Update substrate/frame/revive/src/tests.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Theißen <[email protected]>
  • Loading branch information
xermicus and athei authored Dec 12, 2024
1 parent 3752750 commit d04db65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/revive/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4354,7 +4354,7 @@ fn call_data_size_api_works() {
builder::bare_instantiate(Code::Upload(code)).build_and_unwrap_contract();

// Call the contract: It echoes back the value returned by the call data size API.
let received = builder::bare_call(addr).build().result.unwrap();
let received = builder::bare_call(addr).build_and_unwrap_result();
assert_eq!(received.flags, ReturnFlags::empty());
assert_eq!(U256::from_little_endian(&received.data), U256::zero());

Expand Down

0 comments on commit d04db65

Please sign in to comment.