aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2017-10-13 20:34:21 +0800
committerDimitry <dimitry@ethereum.org>2017-10-13 20:34:21 +0800
commit6e80effa947d9581e5ef8c4e02a45725f5af4346 (patch)
treeffd5b0bde30e78cf0957a40889980a3adbd0c5b6 /src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json
parentba6a35c1f3f2b992279f3072e5f983522a64a5c9 (diff)
downloaddexon-tests-6e80effa947d9581e5ef8c4e02a45725f5af4346.tar.gz
dexon-tests-6e80effa947d9581e5ef8c4e02a45725f5af4346.tar.zst
dexon-tests-6e80effa947d9581e5ef8c4e02a45725f5af4346.zip
modexp input test
Consensus big in Parity: gas calculation of modexp is subject to overflow for certain inputs. Found via manual review. A case was found where consensus issue could be achieved in ~500K gas.
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json
index 1782501ca..ad835e9a0 100644
--- a/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts2/modexpRandomInput_d1g1v0Filler.json
@@ -11,11 +11,11 @@
"transactions" : [
{
"data" : "0x00000000008000000000000000000000000000000000000000000000000000000000000400000000000000000000000a",
- "gasLimit" : "0x030d40",
+ "gasLimit" : "0x6acfc0",
"gasPrice" : "0x01",
"nonce" : "0x00",
- "r" : "0x49c4572c88fb154ace62e09d8ceebfd7df34d4a7642fbb418d4a1ef275960577",
- "s" : "0x21a786ac84b27576174ec3e3370e49d6b95ae5efad187ff5e78bad37b0161396",
+ "r" : "0x1146ab4d2425f6d4771a02c80223b8ba38e236b06b08062041b6d173137dac48",
+ "s" : "0x60be39d14b2fd099aaca849e4785dbc283612fb335239c3d37056afc9edfe998",
"to" : "0x0000000000000000000000000000000000000005",
"v" : "0x1b",
"value" : "0x00"