Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
cf002a46
Commit
cf002a46
authored
Feb 10, 2015
by
CJentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo changed due to memory gas cost rule
parent
be4f4074
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
365 deletions
+5
-365
stPreCompiledContracts.json
StateTests/stPreCompiledContracts.json
+4
-4
vmSha3Test.json
VMTests/vmSha3Test.json
+1
-361
No files found.
StateTests/stPreCompiledContracts.json
View file @
cf002a46
...
@@ -1074,14 +1074,14 @@
...
@@ -1074,14 +1074,14 @@
}
}
},
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"
986358
"
,
"balance"
:
"
32684
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99999999999
8913642
"
,
"balance"
:
"99999999999
9867316
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"nonce"
:
"1"
,
"storage"
:
{
"storage"
:
{
...
@@ -1631,14 +1631,14 @@
...
@@ -1631,14 +1631,14 @@
}
}
},
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"
986358
"
,
"balance"
:
"
32684
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99999999999
8913642
"
,
"balance"
:
"99999999999
9867316
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"nonce"
:
"1"
,
"storage"
:
{
"storage"
:
{
...
...
VMTests/vmSha3Test.json
View file @
cf002a46
...
@@ -300,7 +300,7 @@
...
@@ -300,7 +300,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
},
"gas"
:
"4
02600620
4"
,
"gas"
:
"4
29444268
4"
,
"logs"
:
[
"logs"
:
[
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
...
@@ -352,365 +352,5 @@
...
@@ -352,365 +352,5 @@
}
}
}
}
}
}
},
"sha3_memSizeNoQuadraticCost31"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60016103c020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966942"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016103c020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016103c020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost32"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60016103e020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966940"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016103e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016103e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost32_zeroSize"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600061040020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966983"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600061040020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600061040020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost33"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600161040020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966939"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600161040020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600161040020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost63"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60016107c020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966907"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016107c020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016107c020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost64"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60016107e020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966905"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016107e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60016107e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost64_2"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60206107e020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966905"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60206107e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x60206107e020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"sha3_memSizeQuadraticCost65"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600161080020600055"
,
"data"
:
"0x"
,
"gas"
:
"4294967296"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4294966904"
,
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600161080020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x600161080020600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment