Skip to content

Commit

Permalink
feat: implement precompile contract for opBNB (bluealloy#6)
Browse files Browse the repository at this point in the history
* feat: implement precompile contract for opBNB

* fix: unused import warning in test

* ci: add develop branch to the list of branches to run

* chore: fmt codes

* chore: fix no default feature importing

* chore: cargo clippy fix

* ci: disable checks on riscv32imac-unknown-none-elf

* chore: setup vec with capacity

* fix: cometbft_light_block_validate input conversion

* chore: fix fmt

* fix: add opbnb feature to ECOTONE

* fix: sepc definition

* chore: fix opBNB feature tags

* chore(ci): bump action/deploy (bluealloy#1372)

* fix: light block header validation in cometbft

* chore: fix fmt

* fix: BLS_SIGNATURE_VALIDATION_BASE to 1000

* update greenfield-cometbft-rs version

---------

Co-authored-by: rakita <[email protected]>
Co-authored-by: Keefe Liu <[email protected]>
  • Loading branch information
3 people authored May 21, 2024
1 parent 1640b8f commit f5cc71d
Show file tree
Hide file tree
Showing 17 changed files with 1,819 additions and 277 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
push:
branches: [main]
branches: [main, develop]
pull_request:
branches: [main]
branches: [main, develop]
merge_group:

jobs:
Expand Down Expand Up @@ -129,4 +129,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
7 changes: 1 addition & 6 deletions .github/workflows/cachegrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Valgrind Cachegrind

on:
pull_request:
branches: [main]
branches: [main, develop]

jobs:
valgrind:
Expand All @@ -13,11 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable

- name: Install Valgrind
run: |
sudo apt-get update
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
push:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]
pull_request:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -31,16 +31,16 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace ${{ matrix.flags }}

test-no-std:
name: test no_std
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: riscv32imac-unknown-none-elf
- run: cargo check --target riscv32imac-unknown-none-elf --no-default-features
# test-no-std:
# name: test no_std
# runs-on: ubuntu-latest
# timeout-minutes: 30
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# with:
# targets: riscv32imac-unknown-none-elf
# - run: cargo check --target riscv32imac-unknown-none-elf --no-default-features

check-no-default-features:
name: check no-default-features
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
push:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]
pull_request:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]

jobs:
tests-stable:
Expand Down
Loading

0 comments on commit f5cc71d

Please sign in to comment.