Skip to content

Commit

Permalink
Fix mainnet_2_3 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Dec 3, 2024
1 parent 5ed5c87 commit e883cbf
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions massa-execution-worker/src/tests/scenarios_mandatories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3358,15 +3358,21 @@ fn execution_trace_nested() {
.collect();

println!("params: {:?}", sub_call.first().unwrap().parameters);

let from_addr = match *CHAINID {
77 => "AS1aEhosr1ebJJZ7cEMpSVKbY6xp1p4DdXabGb8fdkKKJ6WphGnR".to_string(),
77658377 => "AS1Bc3kZ6LhPLJvXV4vcVJLFRExRFbkPWD7rCg9aAdQ1NGzRwgnu".to_string(),
_ => {
panic!("Invalid chain id for this test");
}
};

assert_eq!(
sub_call.first().unwrap().parameters,
vec![
SCRuntimeAbiTraceValue {
name: "from_address".to_string(),
value: SCRuntimeAbiTraceType::String(
// "AS1aEhosr1ebJJZ7cEMpSVKbY6xp1p4DdXabGb8fdkKKJ6WphGnR".to_string()
"AS1Bc3kZ6LhPLJvXV4vcVJLFRExRFbkPWD7rCg9aAdQ1NGzRwgnu".to_string()
)
value: SCRuntimeAbiTraceType::String(from_addr)
},
SCRuntimeAbiTraceValue {
name: "to_address".to_string(),
Expand Down

0 comments on commit e883cbf

Please sign in to comment.