Skip to content

Commit

Permalink
Shapella upgrade. Improvements, test fixes, deps updates (#878)
Browse files Browse the repository at this point in the history
## Contracts
* Update `near-sdk` to `4.1.1`
* Update `lighthouse` dependency to `aurora-3.5.1`
* Update BlockHeader to support [eip-4895](https://eips.ethereum.org/EIPS/eip-4895)
* Add Cappella config for `Goerli` network
* Remove `Ropsten` and `Kiln` networks
- Add Cappella config for `mainnet` network  https://github.com/ethereum/consensus-specs/blob/214760b59bc2355cf0259ae2d042634a0d830525/specs/capella/fork.md

## Eth2 crates

* Use `attested_beacon_header` instead of `active_header` to verify sync committee update proof.  [specs](ethereum/consensus-specs@c4dbd24)
* Update relayer code to support new lodestar API version `1.5.1`, and Shapella hardfork.
* Request light client update by epoch for modified lodestar node  aurora-is-near/lodestar@9b5f3ed

## Misc
* CI: utilize `git-lfs` for Ethereum, NEAR contracts matrices.
* Formatting fixes.

Co-authored-by: Olga Kunyavskaya <[email protected]>
Co-authored-by: Kirill <[email protected]>
  • Loading branch information
3 people authored Mar 28, 2023
1 parent 4b24cbd commit b2cc465
Show file tree
Hide file tree
Showing 127 changed files with 4,525 additions and 85,076 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/contracts-eth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ jobs:

name: ${{ matrix.job-name }}
steps:
- name: Install LFS
run: apt-get install git-lfs

- name: Clone the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: 'true'

- name: Execute
run: ${{ matrix.cmd }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/contracts-near.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,16 @@ jobs:

name: ${{ matrix.job-name }}
steps:
- name: Install LFS
run: apt-get install git-lfs

- name: Clone the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: 'true'

- name: Checkout LFS objects
run: git lfs checkout

- name: Execute
env:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:

name: ${{ matrix.job-name }}
steps:
- name: Install LFS
run: apt-get install git-lfs

- name: Clone the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: 'true'

- name: Install nearup
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ jobs:
runs-on: self-hosted
name: Lint
steps:
- name: Install LFS
run: apt-get install git-lfs

- name: Clone the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: 'true'

- name: Lint
run: |
yarn
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/sigma-prime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ jobs:
name: Sigma Prime security testing
steps:

- name: Install LFS
run: apt-get install git-lfs

- name: Clone the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
lfs: 'true'

- name: Clone sigma prime security testing repository
uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.env
*.env
node_modules
artifacts
cache
Expand All @@ -20,4 +21,4 @@ eth2near/ethashproof/cmd/relayer/relayer

.gitsecret/keys/random_seed
!*.secret
eth2near/eth2near-block-relay-rs/data/API_KEY
eth2near/eth2near-block-relay-rs/data/API_KEY
Loading

0 comments on commit b2cc465

Please sign in to comment.