Skip to content

Commit 5d005b0

Browse files
committed
fix dynamic contract call
1 parent 785a080 commit 5d005b0

File tree

1 file changed

+1
-1
lines changed
  • test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/dynamic_contract_call/src

1 file changed

+1
-1
lines changed

test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/dynamic_contract_call/src/lib.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn dynamic_contract_call(contract_id: b256) -> u64 {
1919
#[cfg(experimental_new_encoding = true)]
2020
pub fn dynamic_contract_call(contract_id: b256) -> u64 {
2121
contract_call::<u64, (u64, u64, u64)>(contract_id,
22-
"some_method_name",
22+
encode("some_method_name"),
2323
(1, 2, 3),
2424
0,
2525
0x0000000000000000000000000000000000000000000000000000000000000000,

0 commit comments

Comments
 (0)