11import type { Contracts } from "@mainsail/contracts" ;
2+
23import { BigNumber } from "@mainsail/utils" ;
34
45export const validatorMnemonic =
@@ -52,15 +53,15 @@ export const tx1 = {
5253 gasPrice : 5_000_000_000 ,
5354 // hash: "65d43d2bed464b6bb1df8d6c0136316d3a3559569904fb16d5e3a8d71ebc2ebc",
5455 network : 10_000 ,
55- nonce : BigNumber . ZERO ,
56+ nonce : 0n ,
5657 r : "921101a4583fb153ec00e501f3c2e2636114e1c8c58d2df8a19426cc066a6768" ,
5758 s : "22db4bce1e0ace485ce0838d178b4d5bcfa9f69b315a14c580d9b01e5c980bdd" ,
5859 // senderLegacyAddress: "DUQKzkR4BP5UcWayJMpRXtpEXuw4zPbWhe",
5960 // senderPublicKey: "02daa6f404dbd49c9c74a3d88d65b967a9b51d3465c92833e8e2ede11e7242f014",
6061 to : "0xBe89811e15f611C1db12e59679b6F3DC1F430155" ,
6162 // transactionIndex: 0,
6263 v : 0 ,
63- value : BigNumber . ZERO ,
64+ value : 0n ,
6465} ;
6566
6667export const tx1Storage : Contracts . Evm . TransactionStorageData = {
@@ -69,16 +70,16 @@ export const tx1Storage: Contracts.Evm.TransactionStorageData = {
6970 from : "0xE33074cBE63A1f86cc8EAb97b2099732F15284fE" ,
7071 gasLimit : BigInt ( 1_000_000 ) ,
7172 gasPrice : BigInt ( 5_000_000_000 ) ,
72- txHash : "65d43d2bed464b6bb1df8d6c0136316d3a3559569904fb16d5e3a8d71ebc2ebc" ,
73- nonce : BigInt ( 0 ) ,
73+ index : 0 ,
74+ nonce : 0n ,
7475 r : "921101a4583fb153ec00e501f3c2e2636114e1c8c58d2df8a19426cc066a6768" ,
7576 s : "22db4bce1e0ace485ce0838d178b4d5bcfa9f69b315a14c580d9b01e5c980bdd" ,
7677 // senderLegacyAddress: "DUQKzkR4BP5UcWayJMpRXtpEXuw4zPbWhe",
7778 senderPublicKey : "02daa6f404dbd49c9c74a3d88d65b967a9b51d3465c92833e8e2ede11e7242f014" ,
7879 to : "0xBe89811e15f611C1db12e59679b6F3DC1F430155" ,
79- index : 0 ,
80+ txHash : "65d43d2bed464b6bb1df8d6c0136316d3a3559569904fb16d5e3a8d71ebc2ebc" ,
8081 v : 0 ,
81- value : BigInt ( 0 ) ,
82+ value : 0n ,
8283} ;
8384
8485export const tx1Serialized =
@@ -91,15 +92,15 @@ export const tx2 = {
9192 gasPrice : 5_000_000_000 ,
9293 // hash: "7a74379424e07173c137dd89c29f497b35d8013815b03096b51e67f87c453574",
9394 network : 10_000 ,
94- nonce : BigNumber . ONE ,
95+ nonce : 1n ,
9596 r : "6c9842bc78c2f68468cbf8a8f3fec0ae2679707ffb606a4b373dd01a02af55fc" ,
9697 s : "1a4c4d984d750678fb204ce8b7e97d860c974ac1a423f098dc4921acd2be0c7d" ,
9798 // senderLegacyAddress: "DQJTK7of6bPUfJEuL9gUV4qnUyq72eskKe",
9899 // senderPublicKey: "03043bfdf530d59e919323a33d0c8f5ca43f6b50dfe753c9b3e987a4a5233a2a15",
99100 to : "0xBe89811e15f611C1db12e59679b6F3DC1F430155" ,
100101 // transactionIndex: 1,
101102 v : 0 ,
102- value : BigNumber . ZERO ,
103+ value : 0n ,
103104} ;
104105
105106export const tx2Storage : Contracts . Evm . TransactionStorageData = {
@@ -108,14 +109,14 @@ export const tx2Storage: Contracts.Evm.TransactionStorageData = {
108109 from : "0x8ae872F64bA0731f66F847f4e8Fc0796dF0bCc08" ,
109110 gasLimit : BigInt ( 1_000_000 ) ,
110111 gasPrice : BigInt ( 5_000_000_000 ) ,
111- txHash : "7a74379424e07173c137dd89c29f497b35d8013815b03096b51e67f87c453574" ,
112+ index : 1 ,
112113 nonce : BigInt ( 1 ) ,
113114 r : "6c9842bc78c2f68468cbf8a8f3fec0ae2679707ffb606a4b373dd01a02af55fc" ,
114115 s : "1a4c4d984d750678fb204ce8b7e97d860c974ac1a423f098dc4921acd2be0c7d" ,
115116 // senderLegacyAddress: "DQJTK7of6bPUfJEuL9gUV4qnUyq72eskKe",
116117 senderPublicKey : "03043bfdf530d59e919323a33d0c8f5ca43f6b50dfe753c9b3e987a4a5233a2a15" ,
117118 to : "0xBe89811e15f611C1db12e59679b6F3DC1F430155" ,
118- index : 1 ,
119+ txHash : "7a74379424e07173c137dd89c29f497b35d8013815b03096b51e67f87c453574" ,
119120 v : 0 ,
120121 value : BigInt ( 0 ) ,
121122} ;
@@ -135,15 +136,15 @@ export const blockDataJson: Contracts.Crypto.BlockJson = {
135136 transactions : [
136137 {
137138 ...tx1 ,
139+ data : "0x" ,
138140 gasPrice : Number ( tx1 . gasPrice ) ,
139141 value : tx1 . value . toString ( ) ,
140- data : "0x" ,
141142 } ,
142143 {
143144 ...tx2 ,
145+ data : "0x" ,
144146 gasPrice : Number ( tx2 . gasPrice ) ,
145147 value : tx2 . value . toString ( ) ,
146- data : "0x" ,
147148 } ,
148149 ] ,
149150} ;
0 commit comments