Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add epoch snapshot endBlock attribute #72

Merged
merged 5 commits into from
Oct 22, 2024
Merged

Conversation

Mike-CZ
Copy link
Collaborator

@Mike-CZ Mike-CZ commented Oct 9, 2024

No description provided.

@Mike-CZ Mike-CZ requested a review from jmpike October 9, 2024 15:09
test/SFC.ts Outdated
const epochNumber = await this.sfc.currentEpoch();
await this.sfc.enableNonNodeCalls();
await this.sfc.sealEpoch([100, 101, 102], [100, 101, 102], [100, 101, 102], [100, 101, 102], 0);
const lastBlock = await ethers.provider.getBlock('latest');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe would be more direct to use await ethers.provider.getBlockNumber() instead?

@Mike-CZ Mike-CZ merged commit 582037b into sonic_sfc Oct 22, 2024
2 checks passed
@Mike-CZ Mike-CZ deleted the mike/extend_epoch_snapshot branch October 22, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants