This repository was archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Adria0/fix/tests #11597
Merged
Merged
Adria0/fix/tests #11597
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1cd7a1c
wip
f001424
remove dvdplm comment
55f49ed
tab/space stuff
c6bc6a8
Update ethcore/src/json_tests/test_common.rs
adria0 d027d38
Update ethcore/src/test_helpers/evm_test_client.rs
adria0 227c1be
add eip1234 transition to byz_to_conAt5
535db16
Merge branch 'adria0/fix/tests' of github.com:adria0/openethereum int…
8bfba81
Add pending v7 tests
ed33e53
panic tests when chainspec is unimplemented
ff6c415
verify post_state in BlockchainTests
74eabcc
fix stRevertTests
05e7f78
Merge branch 'master' of https://github.com/openethereum/openethereum…
6575ebc
update to last eth/test develop
89568da
update to latest eth/test develop b9f5fe3
c5e53c3
Remove unused H160 compliation warning
8dac976
Update ethcore/src/json_tests/chain.rs
adria0 8a8abb1
Update ethcore/machine/src/executive.rs
adria0 c1bb0ea
Update ethcore/src/json_tests/chain.rs
adria0 78e358d
Fix comments and test features
620c354
Merge branch 'master' of github.com:openethereum/openethereum into ad…
04dc267
EIP161 precompile balances precondition
db330f3
Fix style nits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
108 changes: 108 additions & 0 deletions
108
ethcore/res/ethereum/test-specs/byzantium_to_constantinoplefixat5_test.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"name": "Byzantium to Constantinople (test)", | ||
"engine": { | ||
"Ethash": { | ||
"params": { | ||
"minimumDifficulty": "0x020000", | ||
"difficultyBoundDivisor": "0x0800", | ||
"durationLimit": "0x0d", | ||
"blockReward": { | ||
"0x0": "0x29A2241AF62C0000", | ||
"0x5": "0x1BC16D674EC80000" | ||
}, | ||
"homesteadTransition": "0x0", | ||
"eip100bTransition": "0x0", | ||
"difficultyBombDelays": { | ||
"0": 3000000 | ||
} | ||
} | ||
} | ||
}, | ||
"params": { | ||
"gasLimitBoundDivisor": "0x0400", | ||
"registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b", | ||
"accountStartNonce": "0x00", | ||
"maximumExtraDataSize": "0x20", | ||
"minGasLimit": "0x1388", | ||
"networkID" : "0x1", | ||
"maxCodeSize": 24576, | ||
"maxCodeSizeTransition": "0x0", | ||
"eip150Transition": "0x0", | ||
"eip160Transition": "0x0", | ||
"eip161abcTransition": "0x0", | ||
"eip161dTransition": "0x0", | ||
"eip140Transition": "0x0", | ||
"eip211Transition": "0x0", | ||
"eip214Transition": "0x0", | ||
"eip155Transition": "0x0", | ||
"eip658Transition": "0x0", | ||
"eip145Transition": "0x5", | ||
"eip1014Transition": "0x5", | ||
"eip1052Transition": "0x5", | ||
"eip1283Transition": "0x5" , | ||
"eip1283DisableTransition": "0x5" | ||
}, | ||
"genesis": { | ||
"seal": { | ||
"ethereum": { | ||
"nonce": "0x0000000000000042", | ||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"difficulty": "0x400000000", | ||
"author": "0x0000000000000000000000000000000000000000", | ||
"timestamp": "0x00", | ||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", | ||
"gasLimit": "0x1388" | ||
}, | ||
"accounts": { | ||
"0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } }, | ||
"0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } }, | ||
"0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } }, | ||
"0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } }, | ||
"0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": "0x00", "pricing": { "modexp": { "divisor": 20 } } } }, | ||
"0000000000000000000000000000000000000006": { | ||
"builtin": { | ||
"name": "alt_bn128_add", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_const_operations": { "price": 500 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 150 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000007": { | ||
"builtin": { | ||
"name": "alt_bn128_mul", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_const_operations": { "price": 40000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 6000 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000008": { | ||
"builtin": { | ||
"name": "alt_bn128_pairing", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_pairing": { "base": 45000, "pair": 34000 }} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
ethcore/res/ethereum/test-specs/constantinople_fix_test.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"name": "St. Peter's (test)", | ||
"engine": { | ||
"Ethash": { | ||
"params": { | ||
"minimumDifficulty": "0x020000", | ||
"difficultyBoundDivisor": "0x0800", | ||
"durationLimit": "0x0d", | ||
"blockReward": "0x1BC16D674EC80000", | ||
"homesteadTransition": "0x0", | ||
"eip100bTransition": "0x0", | ||
"difficultyBombDelays": { | ||
"0": 5000000 | ||
} | ||
} | ||
} | ||
}, | ||
"params": { | ||
"gasLimitBoundDivisor": "0x0400", | ||
"registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b", | ||
"accountStartNonce": "0x00", | ||
"maximumExtraDataSize": "0x20", | ||
"minGasLimit": "0x1388", | ||
"networkID" : "0x1", | ||
"maxCodeSize": 24576, | ||
"maxCodeSizeTransition": "0x0", | ||
"eip150Transition": "0x0", | ||
"eip160Transition": "0x0", | ||
"eip161abcTransition": "0x0", | ||
"eip161dTransition": "0x0", | ||
"eip140Transition": "0x0", | ||
"eip211Transition": "0x0", | ||
"eip214Transition": "0x0", | ||
"eip155Transition": "0x0", | ||
"eip658Transition": "0x0", | ||
"eip145Transition": "0x0", | ||
"eip1014Transition": "0x0", | ||
"eip1052Transition": "0x0", | ||
"eip1283Transition": "0x0", | ||
"eip1283DisableTransition": "0x0" | ||
}, | ||
"genesis": { | ||
"seal": { | ||
"ethereum": { | ||
"nonce": "0x0000000000000042", | ||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"difficulty": "0x400000000", | ||
"author": "0x0000000000000000000000000000000000000000", | ||
"timestamp": "0x00", | ||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", | ||
"gasLimit": "0x1388" | ||
}, | ||
"accounts": { | ||
"0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } }, | ||
"0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } }, | ||
"0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } }, | ||
"0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } }, | ||
"0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": "0x00", "pricing": { "modexp": { "divisor": 20 } } } }, | ||
"0000000000000000000000000000000000000006": { | ||
"builtin": { | ||
"name": "alt_bn128_add", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_const_operations": { "price": 500 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 150 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000007": { | ||
"builtin": { | ||
"name": "alt_bn128_mul", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_const_operations": { "price": 40000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 6000 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000008": { | ||
"builtin": { | ||
"name": "alt_bn128_pairing", | ||
"pricing": { | ||
"0": { | ||
"price": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_pairing": { "base": 45000, "pair": 34000 }} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
104 changes: 104 additions & 0 deletions
104
ethcore/res/ethereum/test-specs/eip158_to_byzantiumat5_test.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"name": "EIP158 to byzantium (test)", | ||
"engine": { | ||
"Ethash": { | ||
"params": { | ||
"minimumDifficulty": "0x020000", | ||
"difficultyBoundDivisor": "0x0800", | ||
"durationLimit": "0x0d", | ||
"blockReward": { | ||
"0x0": "0x4563918244F40000", | ||
"0x5": "0x29A2241AF62C0000" | ||
}, | ||
"homesteadTransition": "0", | ||
"eip100bTransition": "5", | ||
"difficultyBombDelays": { | ||
"5": 3000000 | ||
} | ||
} | ||
} | ||
}, | ||
"params": { | ||
"gasLimitBoundDivisor": "0x0400", | ||
"registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b", | ||
"accountStartNonce": "0x00", | ||
"maximumExtraDataSize": "0x20", | ||
"minGasLimit": "0x1388", | ||
"networkID" : "0x1", | ||
"maxCodeSize": 24576, | ||
"maxCodeSizeTransition": "0", | ||
"eip150Transition": "0", | ||
"eip155Transition": "0", | ||
"eip160Transition": "0", | ||
"eip161abcTransition": "0", | ||
"eip161dTransition": "0", | ||
"eip98Transition": "5", | ||
"eip140Transition": "5", | ||
"eip211Transition": "5", | ||
"eip214Transition": "5", | ||
"eip658Transition": "5" | ||
}, | ||
"genesis": { | ||
"seal": { | ||
"ethereum": { | ||
"nonce": "0x0000000000000042", | ||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"difficulty": "0x400000000", | ||
"author": "0x0000000000000000000000000000000000000000", | ||
"timestamp": "0x00", | ||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", | ||
"gasLimit": "0x1388" | ||
}, | ||
"accounts": { | ||
"0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } }, | ||
"0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } }, | ||
"0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } }, | ||
"0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } }, | ||
"0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": "0x5", "pricing": { "modexp": { "divisor": 20 } } } }, | ||
"0000000000000000000000000000000000000006": { | ||
"builtin": { | ||
"name": "alt_bn128_add", | ||
"pricing": { | ||
"5": { | ||
"price": { "alt_bn128_const_operations": { "price": 500 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 150 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000007": { | ||
"builtin": { | ||
"name": "alt_bn128_mul", | ||
"pricing": { | ||
"5": { | ||
"price": { "alt_bn128_const_operations": { "price": 40000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_const_operations": { "price": 6000 }} | ||
} | ||
} | ||
} | ||
}, | ||
"0000000000000000000000000000000000000008": { | ||
"builtin": { | ||
"name": "alt_bn128_pairing", | ||
"pricing": { | ||
"5": { | ||
"price": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 }} | ||
}, | ||
"0x7fffffffffffff": { | ||
"info": "EIP 1108 transition", | ||
"price": { "alt_bn128_pairing": { "base": 45000, "pair": 34000 }} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Submodule tests
updated
10353 files
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.