diff --git a/test/src/e2e_vm_tests/test_programs/ec_recover_test/Forc.toml b/test/src/e2e_vm_tests/test_programs/ec_recover_test/Forc.toml index 81eff0a9e19..820990c76d8 100644 --- a/test/src/e2e_vm_tests/test_programs/ec_recover_test/Forc.toml +++ b/test/src/e2e_vm_tests/test_programs/ec_recover_test/Forc.toml @@ -6,4 +6,4 @@ entry = "main.sw" [dependencies] core = { git = "http://github.com/FuelLabs/sway-lib-core", version = "v0.0.1" } -std = { git = "http://github.com/FuelLabs/sway-lib-std", version = "v0.0.1" } +std = { git = "http://github.com/FuelLabs/sway-lib-std", version = "v0.0.2" } diff --git a/test/src/e2e_vm_tests/test_programs/ec_recover_test/src/main.sw b/test/src/e2e_vm_tests/test_programs/ec_recover_test/src/main.sw index 1bd9c74b7a8..1ec036c6bbd 100644 --- a/test/src/e2e_vm_tests/test_programs/ec_recover_test/src/main.sw +++ b/test/src/e2e_vm_tests/test_programs/ec_recover_test/src/main.sw @@ -38,8 +38,8 @@ fn main() -> bool { // recover the public key: let recovered_pubkey: B512 = ec_recover(signature, msg_hash); - assert(recovered_pubkey.hi == pubkey.hi); - assert(recovered_pubkey.lo == pubkey.lo); + assert((recovered_pubkey.bytes)[0] == (pubkey.bytes)[0]); + assert((recovered_pubkey.bytes)[1] == (pubkey.bytes)[1]); true }