@remix-project/remix-simulator
Advanced tools
Comparing version 0.2.37 to 0.2.38
{ | ||
"name": "@remix-project/remix-simulator", | ||
"version": "0.2.37", | ||
"version": "0.2.38", | ||
"description": "Ethereum IDE and tools for the web", | ||
@@ -25,3 +25,3 @@ "contributors": [ | ||
"@ethereumjs/vm": "^6.4.1", | ||
"@remix-project/remix-lib": "^0.5.44", | ||
"@remix-project/remix-lib": "^0.5.45", | ||
"ansi-gray": "^0.1.1", | ||
@@ -74,4 +74,4 @@ "async": "^3.1.0", | ||
"typings": "src/index.d.ts", | ||
"gitHead": "29e14eb9e9750b43522e3667bb340ff6884d1ebf", | ||
"gitHead": "2c7dc1096de47ad3a80cd983b29bac6ac17b30f3", | ||
"types": "./src/index.d.ts" | ||
} |
@@ -201,6 +201,7 @@ /* global ethereum */ | ||
]); | ||
const codeHash = accountData.codeHash === '0x0000000000000000000000000000000000000000000000000000000000000000' ? '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' : accountData.codeHash; | ||
const account = util_1.Account.fromAccountData({ | ||
balance: BigInt(accountData.balance), | ||
nonce: BigInt(accountData.nonce), | ||
codeHash: (0, util_1.toBuffer)(accountData.codeHash) | ||
codeHash: (0, util_1.toBuffer)(codeHash) | ||
// storageRoot: toBuffer([]), // we have to remove this in order to force the creation of the Trie in the local state. | ||
@@ -207,0 +208,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168956
2148