Skip to content

Commit

Permalink
bsc2: Temporary disable ramanujan fork verification
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie307 committed Nov 8, 2024
1 parent 0e8a3cb commit 999ad79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public BTPMessageVerifier(Address _bmc, BigInteger _chainId, @Optional byte[] _h

@External(readonly = true)
public String getVersion() {
return "0.7.4";
return "0.7.5";
}

@External(readonly = true)
Expand Down Expand Up @@ -321,7 +321,7 @@ private void verify(ChainConfig config, Header head, Header parent, Snapshot sna
"Inconsistent block number");
Context.require(parent.getHash().equals(head.getParentHash()), "Inconsistent block hash");

verifyForRamanujanFork(config, snap, head, parent);
// verifyForRamanujanFork(config, snap, head, parent);

BigInteger diff = parent.getGasLimit().add(head.getGasLimit().negate());
if (diff.compareTo(BigInteger.ZERO) < 0) {
Expand Down
6 changes: 6 additions & 0 deletions bmv/bsc2/src/test/resources/testnet.json

Large diffs are not rendered by default.

0 comments on commit 999ad79

Please sign in to comment.