Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySciTech committed May 13, 2024
1 parent 684e433 commit db5dd37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ We recommend setting up the contract in a Python virtual environment since it ut
- `subnet`: subnet deploy config :
- `validators`: List of initial validator addresses
- `gap`: GAP block number on the public chain
- `epoch`: EPOCH block number on the public chain
- `epoch`: blocks per EPOCH on the public chain
- `parentnet`: subnet deploy config :
- `validators`: List of initial validator addresses
- `gap`: GAP block number on the public chain
- `epoch`: EPOCH block number on the public chain
- `epoch`: blocks per EPOCH on the public chain
- `V2ESBN`: v2 epoch start block number, epoch block required

Configure your network in `network.config.json`:
Expand Down
3 changes: 0 additions & 3 deletions contracts/ReverseFullCheckpoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ contract ReverseFullCheckpoint {

uint64 private epochNum;
uint64 public INIT_STATUS;
uint64 public INIT_GAP;
uint64 public INIT_EPOCH;

// Event types
Expand All @@ -55,7 +54,6 @@ contract ReverseFullCheckpoint {
address[] memory initialValidatorSet,
bytes memory genesisHeader,
bytes memory block1Header,
uint64 initGap,
uint64 initEpoch,
int256 V2ESBN
) public {
Expand Down Expand Up @@ -105,7 +103,6 @@ contract ReverseFullCheckpoint {
latestFinalizedBlock = block1HeaderHash;
committedBlocks[0] = genesisHeaderHash;
committedBlocks[1] = block1HeaderHash;
INIT_GAP = initGap;
INIT_EPOCH = initEpoch;
INIT_STATUS = 1;
}
Expand Down
1 change: 0 additions & 1 deletion deployment.config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"0xfd347f23c20b5e1256c1885bcece4786e151fe05",
"0xfd63783e43070be1a305cd21013b659823e335ca"
],
"gap": 450,
"epoch": 900,
"V2ESBN": 7074000
}
Expand Down

0 comments on commit db5dd37

Please sign in to comment.