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

feat(contracts): ValueRouter #4809

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
cd7a263
fix: revert concurrency in Modules (#4730)
ltyu Oct 22, 2024
c3e9268
feat: Add block tag support in `reorgPeriod` parameter (#4629)
apastushenka Oct 23, 2024
2cc51c1
chore: split cli e2e into separate job (#4733)
paulbalaji Oct 23, 2024
937392b
chore(evm): optimize block number fetching (#4736)
daniel-savu Oct 23, 2024
5fc442b
chore: add sleep log in `fetch_logs_with_cursor` (#4734)
daniel-savu Oct 23, 2024
d41aa69
feat: add block tag enum for validating reorgPeriod (#4739)
paulbalaji Oct 23, 2024
7f3e066
feat: add stride to relayed chains (#4716)
paulbalaji Oct 23, 2024
f9f0ece
feat: add zkSync enum variant to HyperlaneDomainTechnicalStack (#4740)
tkporter Oct 23, 2024
b585de0
Version Packages (#4663)
github-actions[bot] Oct 23, 2024
8cc0d9a
feat(contracts): add wrapped HypERC4626 for ease of defi use (#4563)
aroralanuk Oct 23, 2024
c55257c
fix(contracts): minor token related changes (#4580)
aroralanuk Oct 23, 2024
29bf1d8
chore: set finalized reorgPeriod (#4741)
paulbalaji Oct 23, 2024
a64af8b
fix: revert chiliz reorg period back to 9 (#4744)
paulbalaji Oct 24, 2024
ffbe1dd
feat: Make HyperlaneProvider to request block by height, not by hash …
ameten Oct 24, 2024
3474a84
fix: update cli dependencies (#4746)
paulbalaji Oct 24, 2024
c53e330
Version Packages (#4742)
github-actions[bot] Oct 24, 2024
15db5c1
chore: update Eclipse validator sets to include Stride, minor cleanup…
tkporter Oct 24, 2024
89c60ab
feat: update Stride IGP to our own, temporarily whitelist our Stride …
tkporter Oct 24, 2024
a42616f
fix(contracts): add rebasing compatibility for `HypERC4626` (#4524)
aroralanuk Oct 25, 2024
2a190ff
chore: update agent image (#4745)
paulbalaji Oct 25, 2024
14e4719
feat: Use H512 as transaction hash in HyperlaneProvider and Scraper (…
ameten Oct 25, 2024
1bd8e3e
feat: Stride <> Eclipse TIA and stTIA (#4749)
daniel-savu Oct 25, 2024
d5bdb2c
feat(warpMonitor): Support collateral value monitoring (#4545)
Mo-Hussain Oct 25, 2024
a36fc5f
fix: isObject utils fn should return only boolean value (#4756)
tiendn Oct 25, 2024
5fd4267
fix: ensure recipients on Sealevel warp transfers are 32 bytes (#4760)
tkporter Oct 25, 2024
34222c0
Version Packages (#4751)
github-actions[bot] Oct 25, 2024
892a1d8
fix: tokenAddress for native sttia (#4762)
daniel-savu Oct 25, 2024
0410815
fix: Add unit tests for math utility functions and fix median calcula…
tiendn Oct 27, 2024
cd666d5
feat: add TIA and stTIA ATA payer observability (#4763)
tkporter Oct 28, 2024
5dabdf3
feat: do not exhaustively derive routing config in TS relayer (#4765)
yorhodes Oct 28, 2024
c622bfb
test: Coverage more @hyperlane-xyz/utils test (#4758)
tiendn Oct 28, 2024
e104cf6
refactor: dedupe HyperlaneIsmFactory and IsmModule.create (#4732)
yorhodes Oct 28, 2024
39a9b20
test: add more object utils test + remove undefined value when use wi…
tiendn Oct 28, 2024
a028e16
chore: migrate away from unmaintained rust toolchain installer (#4465)
paulbalaji Oct 28, 2024
956ff75
feat: ergonomic IGP configuration in CLI (#4635)
paulbalaji Oct 28, 2024
f9919c4
feat: add lumia warp route to infra (#4705)
yorhodes Oct 28, 2024
56328e6
fix: use `ism.route(message)` for supporting self relay of ICA ISM (#…
yorhodes Oct 28, 2024
cd3bc5c
chore: disable arcadiatestnet until redeployment (#4775)
paulbalaji Oct 29, 2024
0640f83
fix(contracts): InterchainAccountRouter minor audit remediation (#4581)
aroralanuk Oct 29, 2024
d9505ab
feat: oct 25 deployment batch (#4766)
paulbalaji Oct 29, 2024
8ff194d
feat: Cosmos RPC client supporting fallback rpcs (#4752)
Mantas-M Oct 29, 2024
f438d44
feat: widget update for de-duplication (#4771)
Xaroz Oct 29, 2024
83a1567
test: append-more-multisigmIsm-test (#4769)
tiendn Oct 29, 2024
fc3818d
feat: add taint & toleration to mainnet3 relayer node pool (#4780)
tkporter Oct 30, 2024
cca032f
fix(contracts): assume no zero address for beneficiary address in `Pr…
aroralanuk Oct 30, 2024
fc82b30
feat: Refactor Relayer Retry Server (#4693)
Mantas-M Oct 30, 2024
8dbc2e6
fix: another sealevel unit test flake (#4784)
daniel-savu Oct 30, 2024
1b5bfa3
feat: add a script for getting typical remote gas amounts (#4782)
tkporter Oct 30, 2024
7e9e248
feat: allow update destination gas (#4674)
ltyu Oct 30, 2024
c87cfbd
feat: Scrape Sealevel dispatched messages (#4776)
ameten Oct 30, 2024
1c0ef45
feat: add new ezETH addresses to app contexts (#4789)
tkporter Oct 30, 2024
469f2f3
fix(contracts): quote management for L2->L1 hooks (#4552)
aroralanuk Oct 31, 2024
f26453e
fix(contracts): add `msg.Value` to `verifyMessageId` (#4541)
aroralanuk Oct 31, 2024
21a0cf9
fix: GCS folder support (#4652)
IvanPsurtcev Oct 31, 2024
38bd1ae
feat: Scraper stores input data from Ethereum transactions (#4794)
ameten Oct 31, 2024
fa06690
feat: Upgrade Scraper so that it stores input data for Ethereum trans…
ameten Oct 31, 2024
ede43a7
hypValue
aroralanuk Nov 4, 2024
b5762d5
test
aroralanuk Nov 4, 2024
6616b98
test transfer
aroralanuk Nov 5, 2024
f510863
test done
aroralanuk Nov 5, 2024
82ced26
Merge branch 'audit-q3-2024' into kunal/value-router
aroralanuk Nov 5, 2024
862d597
rm virtual
aroralanuk Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/cold-dingos-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': patch
---

Optimize HyperlaneRelayer routing config derivation
6 changes: 6 additions & 0 deletions .changeset/cuddly-baboons-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@hyperlane-xyz/sdk': minor
'@hyperlane-xyz/core': minor
---

Checking for sufficient fees in `AbstractMessageIdAuthHook` and refund surplus
5 changes: 0 additions & 5 deletions .changeset/dirty-months-buy.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/dirty-swans-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@hyperlane-xyz/utils': patch
'@hyperlane-xyz/sdk': patch
---

Dedupe internals of hook and ISM module deploy code
6 changes: 0 additions & 6 deletions .changeset/dry-foxes-battle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/few-goats-add.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/flat-swans-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-ducks-buy.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fresh-pigs-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Deploy to apechain, arbitrumnova, b3, fantom, gravity, harmony, kaia, morph, orderly, snaxchain, zeronetwork, zksync. Update default metadata in `HyperlaneCore` to `0x00001` to ensure empty metadata does not break on zksync.
6 changes: 0 additions & 6 deletions .changeset/grumpy-ears-relate.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@hyperlane-xyz/utils': patch
---

Fix objMerge implementation
fix median utils func + add test
5 changes: 0 additions & 5 deletions .changeset/itchy-singers-hang.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
'@hyperlane-xyz/sdk': minor
---

Enable concurrency for IsmModule
Add feat to allow updates to destination gas using warp apply
5 changes: 0 additions & 5 deletions .changeset/long-swans-drive.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/neat-sloths-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/core': minor
---

Added msg.value to preverifyMessage to commit it as part of external hook payload
6 changes: 0 additions & 6 deletions .changeset/plenty-chicken-clean.md

This file was deleted.

11 changes: 11 additions & 0 deletions .changeset/plenty-pens-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@hyperlane-xyz/widgets': minor
---

Update widgets with components from explorer and warp ui

- Add icons: Discord, Docs, Github, History, LinkedIn, Medium, Twitter, Wallet and Web
- Add animation component: Fade component
- Add components: DatetimeField and SelectField
- New stories: IconList and Fade
- Add "Icon" suffix for icons that did not have it
7 changes: 0 additions & 7 deletions .changeset/poor-coins-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-actors-shop.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/silent-berries-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/core': minor
---

disabled the ICARouter's ability to change hook given that the user doesn't expect the hook to change after they deploy their ICA account. Hook is not part of the derivation like ism on the destination chain and hence, cannot be configured custom by the user.
5 changes: 0 additions & 5 deletions .changeset/silver-dancers-rhyme.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/sixty-eggs-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/cli': minor
---

Enable configuration of IGP hooks in the CLI
5 changes: 5 additions & 0 deletions .changeset/sweet-houses-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': patch
---

Fix ICA ISM self relay
5 changes: 0 additions & 5 deletions .changeset/sweet-humans-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-spiders-deny.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/thin-tips-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': minor
---

Introduce utils that can be reused by the CLI and Infra for fetching token prices from Coingecko and gas prices from EVM/Cosmos chains.
5 changes: 0 additions & 5 deletions .changeset/tidy-hornets-beam.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/tidy-meals-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/utils': patch
---

Filter undefined/null values in invertKeysAndValues function
5 changes: 0 additions & 5 deletions .changeset/tricky-mangos-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-camels-repair.md

This file was deleted.

16 changes: 15 additions & 1 deletion .github/actions/yarn-build-with-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,26 @@ runs:
steps:
- name: Cache
uses: buildjet/cache@v4
id: cache
with:
path: |
**/node_modules
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}
fail-on-cache-miss: true

# Typically, the cache will be hit, but if there's a network error when
# restoring the cache, let's run the install step ourselves.
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
run: |
yarn install
CHANGES=$(git status -s --ignore-submodules)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi

- name: Build
shell: bash
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/agent-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ jobs:
linker = "aarch64-linux-gnu-gcc"
EOF
- name: setup rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
target: ${{ matrix.TARGET }}
- name: setup target
run: rustup target add ${{ matrix.TARGET }}
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: dtolnay/rust-toolchain@stable
- name: rust cache
uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -68,10 +65,8 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
components: rustfmt, clippy
target: wasm32-unknown-unknown
- name: rust cache
Expand Down
31 changes: 26 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,30 @@ jobs:
- name: Unit Tests
run: yarn test:ci

cli-e2e:
runs-on: ubuntu-latest
needs: [yarn-install]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive
fetch-depth: 0

- name: foundry-install
uses: foundry-rs/foundry-toolchain@v1

- name: yarn-build
uses: ./.github/actions/yarn-build-with-cache
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Checkout registry
uses: ./.github/actions/checkout-registry

- name: CLI e2e tests
run: yarn --cwd typescript/cli test:e2e

agent-configs:
runs-on: ubuntu-latest
needs: [yarn-install]
Expand Down Expand Up @@ -163,10 +187,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: setup rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
uses: dtolnay/rust-toolchain@stable

- name: rust cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -218,7 +239,7 @@ jobs:
run: |
if [[ -n "$(git diff ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event.pull_request.base.sha }} -- ./rust)" ]]; then
echo "rust_changes=true" >> $GITHUB_OUTPUT
echo "$(git diff ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event.pull_request.base.sha }} -- ./rust)"
echo "$(git diff ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event.pull_request.base.sha }} -- ./rust)"
else
echo "rust_changes=false" >> $GITHUB_OUTPUT
fi
Expand Down
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8583d0841615313c8c880e765eba760378e061cd
302be4817c063629cec70c0b02322b250df71122
1 change: 0 additions & 1 deletion rust/main/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading