Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 6315626

Browse files
authored
Merge pull request #933 from ethereum/eip-212
EIP-212 implement Ate pairing check
2 parents f70147d + bb91185 commit 6315626

File tree

20 files changed

+1771
-260
lines changed

20 files changed

+1771
-260
lines changed

ethereumj-core/src/main/java/org/ethereum/config/BlockchainConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ String validateTransactionChanges(BlockStore blockStore, Block curBlock, Transac
143143
*/
144144
boolean eip211();
145145

146+
/**
147+
* EIP212: https://github.com/ethereum/EIPs/pull/212
148+
*/
149+
boolean eip212();
150+
146151
/**
147152
* EIP213: https://github.com/ethereum/EIPs/pull/213
148153
*/

ethereumj-core/src/main/java/org/ethereum/config/blockchain/AbstractConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ public boolean eip211() {
173173
return false;
174174
}
175175

176+
@Override
177+
public boolean eip212() {
178+
return false;
179+
}
180+
176181
@Override
177182
public boolean eip213() {
178183
return false;

ethereumj-core/src/main/java/org/ethereum/config/blockchain/ByzantiumConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ public boolean eip211() {
9494
return true;
9595
}
9696

97+
@Override
98+
public boolean eip212() {
99+
return true;
100+
}
101+
97102
@Override
98103
public boolean eip213() {
99104
return true;

ethereumj-core/src/main/java/org/ethereum/config/blockchain/Eip150HFConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ public boolean eip211() {
162162
return false;
163163
}
164164

165+
@Override
166+
public boolean eip212() {
167+
return parent.eip212();
168+
}
169+
165170
@Override
166171
public boolean eip213() {
167172
return parent.eip213();

ethereumj-core/src/main/java/org/ethereum/crypto/bn/BN128.java

Lines changed: 0 additions & 235 deletions
This file was deleted.

0 commit comments

Comments
 (0)