Skip to content

fix: check the first block in a new metadata#1191

Merged
KaoImin merged 4 commits intomainfrom
test
May 18, 2023
Merged

fix: check the first block in a new metadata#1191
KaoImin merged 4 commits intomainfrom
test

Conversation

@KaoImin
Copy link
Contributor

@KaoImin KaoImin commented May 17, 2023

What this PR does / why we need it:

The metadata version should be like this:

epoch 0: [1, 100]
epoch 1: [101, 200]
...

A block number contained by a metadata version means:

version.start <= block_number <= version.end

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

NIL

CI Description

CI Name Description
Chaos CI Test the liveness and robustness of Axon under terrible network condition
Cargo Clippy Run cargo clippy --all --all-targets --all-features
Coverage Test Get the unit test coverage report
E2E Test Run end-to-end test to check interfaces
Code Format Run cargo +nightly fmt --all -- --check and cargo sort -gwc
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OCT 1-5 | 6-10 | 11 | 12-15 | 16-19 Run the compatibility tests provided by OpenZeppelin

CI Usage

Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Chaos CI
  • Cargo Clippy
  • Coverage Test
  • E2E Tests
  • Code Format
  • Unit Tests
  • Web3 Compatible Tests
  • OCT 1-5 And 12-15
  • OCT 6-10
  • OCT 11
  • OCT 16-19
  • v3 Core Tests

@KaoImin KaoImin requested a review from a team as a code owner May 17, 2023 09:28
@KaoImin KaoImin requested review from liya2017 and peterzhb May 17, 2023 09:28
@KaoImin
Copy link
Contributor Author

KaoImin commented May 17, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented May 17, 2023

CI tests run on commit:

CI test list:

  • Code Format
  • Cargo Clippy
  • Chaos CI
  • Unit Tests

Please check ci test results later.

@KaoImin
Copy link
Contributor Author

KaoImin commented May 18, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented May 18, 2023

CI tests run on commit:

CI test list:

  • Code Format
  • Cargo Clippy
  • Chaos CI
  • Unit Tests
  • Web3 Compatible Tests

Please check ci test results later.

@KaoImin KaoImin added this pull request to the merge queue May 18, 2023
Merged via the queue into main with commit 813bc1e May 18, 2023
@KaoImin KaoImin deleted the test branch May 22, 2023 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants