From b41e31a1567a0241aa14bce23cec675e7ebd938f Mon Sep 17 00:00:00 2001 From: cryptoAtwill Date: Fri, 13 Dec 2024 18:43:58 +0800 Subject: [PATCH] fix value --- fendermint/eth/api/src/conv/from_eth.rs | 2 +- fendermint/vm/message/src/conv/from_eth.rs | 8 ++------ fendermint/vm/message/src/conv/from_fvm.rs | 5 ++--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/fendermint/eth/api/src/conv/from_eth.rs b/fendermint/eth/api/src/conv/from_eth.rs index bf1f388d9..f8a4443d6 100644 --- a/fendermint/eth/api/src/conv/from_eth.rs +++ b/fendermint/eth/api/src/conv/from_eth.rs @@ -68,7 +68,7 @@ mod tests { #[test] fn test_legacy_transaction() { - let raw_tx = "f86c098504a817c800825208943535353535353535353535353535353535353535880de0b6b3a76400008025a028ef61340bd939bc2195fe537567866003e1a15d3c71ff63e1590620aa636276a067cbe9d8997f761aecb703304b3800ccf555c9f3dc64214b297fb1966a3b6d83"; + let raw_tx = "f8ac821dac850df8475800830186a09465292eeadf1426cd2df1c4793a3d7519f253913b80b844a9059cbb000000000000000000000000cd50511c4e355f2bc3c084d854253cc17b2230bf00000000000000000000000000000000000000000000148a616ad7f95aa0000025a0a4f3a70a01cfb3969c4a12510ebccd7d08250a4d34181123bebae3f865392643a063116147193f2badc611fa20dfa1c339bca299f50e470353ee4f676bc236479d"; let raw_tx = hex::decode(raw_tx).unwrap(); let rlp = rlp::Rlp::new(raw_tx.as_ref()); diff --git a/fendermint/vm/message/src/conv/from_eth.rs b/fendermint/vm/message/src/conv/from_eth.rs index 369872030..20fa7a790 100644 --- a/fendermint/vm/message/src/conv/from_eth.rs +++ b/fendermint/vm/message/src/conv/from_eth.rs @@ -50,17 +50,13 @@ pub fn fvm_message_from_legacy(tx: &TransactionRequest) -> anyhow::Result