From 5127dbdd2332e21f6d5b8049808d22ab4c0a8877 Mon Sep 17 00:00:00 2001 From: Maciej Kulawik Date: Tue, 17 Oct 2023 00:03:21 +0200 Subject: [PATCH] update expected tipping tx json (test private key generation changed) --- system_tests/tippingtx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_tests/tippingtx_test.go b/system_tests/tippingtx_test.go index bcb3fe960b..01390511b4 100644 --- a/system_tests/tippingtx_test.go +++ b/system_tests/tippingtx_test.go @@ -95,7 +95,7 @@ func TestTippingTxJsonMarshalling(t *testing.T) { tippingTx := info.SignTxAs("tester", tipping) tippingJson, err := tippingTx.MarshalJSON() testhelpers.RequireImpl(t, err) - expectedJson := []byte(`{"type":"0x63","chainId":"0x539","nonce":"0x2c","to":"0x00000000000000000000000000000000deadbeef","gas":"0x33450","gasPrice":"0x0","maxPriorityFeePerGas":"0x7","maxFeePerGas":"0xd","value":"0x8","input":"0xdeadbeef","accessList":[{"address":"0x00000000000000000000000000000000deadbeef","storageKeys":["0x0000000000000000000000000000000000000000000000000000000000000000"]}],"v":"0x0","r":"0x61397aeca5e1059cda7c7ae10bf7fbf828fab81015c9eed4174d175406c1e6b6","s":"0xb56b52f6d874105b26cc19c6eaca899b5e26f1649845b774a32c5f8266a8d09","subtype":"0x1","hash":"0x904e53f088edb34cd09a10fbfc54f809ee840873fb262fd35a6d2434da24bae7"}`) + expectedJson := []byte(`{"type":"0x63","chainId":"0x539","nonce":"0x2c","to":"0x00000000000000000000000000000000deadbeef","gas":"0x33450","gasPrice":"0x0","maxPriorityFeePerGas":"0x7","maxFeePerGas":"0xd","value":"0x8","input":"0xdeadbeef","accessList":[{"address":"0x00000000000000000000000000000000deadbeef","storageKeys":["0x0000000000000000000000000000000000000000000000000000000000000000"]}],"v":"0x0","r":"0xa1601a4ded28737bc73dd6c9fc65e27926c5ba50fbae447f4b8bf2c8319ad084","s":"0x2c2fe6def81bad41bdf4163fef307d98466dadb2c83531dfd6330aaa42fb86a1","subtype":"0x1","hash":"0x9fb176470d1bd930e9b612a7e890eb006fe92b600f9b3abe52c3fa6225f89ba4"}`) if !bytes.Equal(tippingJson, expectedJson) { testhelpers.FailImpl(t, "Unexpected json result, want:\n\t", string(expectedJson), "\ngot:\n\t", string(tippingJson)) }