Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
516c6c9
feat/starknet-generate-artifacts-test
ljankovic-txfusion May 9, 2025
c141359
Merge remote-tracking branch 'origin/feat/starknet-sdk-integration' i…
ljankovic-txfusion May 15, 2025
be301fc
Merge remote-tracking branch 'origin/feat/starknet-sdk-integration' i…
ljankovic-txfusion May 15, 2025
c37b59b
Merge remote-tracking branch 'origin/feat/starknet-sdk-integration' i…
ljankovic-txfusion May 16, 2025
dd41726
Merge remote-tracking branch 'origin/feat/starknet-sdk-integration' i…
ljankovic-txfusion May 16, 2025
69b4640
fix: disable suavetoliman + sonicsvmtestnet in infra (#6248)
paulbalaji May 16, 2025
bc58283
feat: Starknet SDK logic integration [STARKNET-03] (#5838)
ljankovic-txfusion May 16, 2025
72b90f8
chore: add cosmos core module & reader (#6241)
troykessler May 16, 2025
bb47b67
feat: add apechain to solana igp (#6246)
paulbalaji May 16, 2025
03eebc3
feat: Make the validator's panic message scarier if there's a detecte…
kamiyaa May 16, 2025
84f5b21
chore: updated registry rc to update docker images (#6252)
xeno097 May 16, 2025
66dac25
chore: default to only amd64 docker builds (#6256)
paulbalaji May 17, 2025
2724559
chore: add routing ism to cosmos-types and sdk (#6244)
troykessler May 19, 2025
1a7222b
refactor: Compress Starknet logo in widgets (#5857)
ljankovic-txfusion May 19, 2025
e193176
Version Packages (#6237)
github-actions[bot] May 19, 2025
93155a4
fix: special-case darwin in fetch-contracts-release.sh (#6266)
paulbalaji May 19, 2025
82be018
chore: update print-latest-checkpoints to support all chains (#6254)
paulbalaji May 19, 2025
4f03dad
fix: add repository to starknet package.json (#6270)
paulbalaji May 19, 2025
736dc19
chore: add `MIRAI/abstract-bsc-solanamainnet` (#6238)
christopherbrumm May 19, 2025
8601b16
feat: subtensor USDC (#6277)
ltyu May 19, 2025
2d234e3
Merge remote-tracking branch 'origin/main' into feat/starknet-generat…
ljankovic-txfusion May 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/metal-coats-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/popular-trains-repair.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/thirty-apricots-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/starknet-core': minor
---

Cairo artifact generation tests
17 changes: 16 additions & 1 deletion .github/workflows/monorepo-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ on:
- 'docker-entrypoint.sh'
- '.dockerignore'
- '.github/workflows/monorepo-docker.yml'
workflow_dispatch:
inputs:
include_arm64:
description: 'Include arm64 in the build'
required: false
default: 'false'

concurrency:
group: build-push-monorepo-${{ github.ref }}
Expand Down Expand Up @@ -81,6 +87,15 @@ jobs:
REGISTRY_VERSION=$(cat .registryrc)
echo "REGISTRY_VERSION=$REGISTRY_VERSION" >> $GITHUB_ENV

- name: Determine platforms
id: determine-platforms
run: |
if [ "${{ github.event.inputs.include_arm64 }}" == "true" ]; then
echo "platforms=linux/amd64,linux/arm64" >> $GITHUB_OUTPUT
else
echo "platforms=linux/amd64" >> $GITHUB_OUTPUT
fi

- name: Build and push
uses: depot/build-push-action@v1
with:
Expand All @@ -92,4 +107,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
REGISTRY_COMMIT=${{ env.REGISTRY_VERSION }}
platforms: linux/amd64,linux/arm64
platforms: ${{ steps.determine-platforms.outputs.platforms }}
16 changes: 15 additions & 1 deletion .github/workflows/rust-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
paths:
- 'rust/**'
- '.github/workflows/rust-docker.yml'
workflow_dispatch:
inputs:
include_arm64:
description: 'Include arm64 in the build'
required: false
default: 'false'
concurrency:
group: build-push-agents-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -64,6 +70,14 @@ jobs:
registry: gcr.io
username: _json_key
password: ${{ secrets.GCLOUD_SERVICE_KEY }}
- name: Determine platforms
id: determine-platforms
run: |
if [ "${{ github.event.inputs.include_arm64 }}" == "true" ]; then
echo "platforms=linux/amd64,linux/arm64" >> $GITHUB_OUTPUT
else
echo "platforms=linux/amd64" >> $GITHUB_OUTPUT
fi
- name: Build and push
uses: depot/build-push-action@v1
with:
Expand All @@ -73,4 +87,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
platforms: ${{ steps.determine-platforms.outputs.platforms }}
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4d879c24b4bed89a770570dd7d54d3423edab496
ea6268432101949d2f3b8d304b7aea9be841bf99
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,23 @@ See [`rust/README.md`](rust/README.md)
We use [changesets](https://github.com/changesets/changesets) to release to NPM. You can use the `release` script in `package.json` to publish.

For an alpha or beta version, follow the directions [here](https://github.com/changesets/changesets/blob/main/docs/prereleases.md).

### Manually Triggering Docker Builds in CI

To manually trigger Agent or Monorepo Docker builds in CI, you can use the workflows provided in the repository. Here are the steps to do so:

1. **Navigate to the workflow:**

- For agents, go to the [Rust Docker Workflow](https://github.com/hyperlane-xyz/hyperlane-monorepo/actions/workflows/rust-docker.yml).
- For the monorepo, go to the [Monorepo Docker Workflow](https://github.com/hyperlane-xyz/hyperlane-monorepo/actions/workflows/monorepo-docker.yml).

2. **Trigger the workflow:**

- On the workflow page, click on the "Run workflow" button.
- You may need to select a branch and decide whether to trigger builds for the `arm64` platform.

3. **Wait for the build to complete:**
- Once triggered, monitor the progress of the build by opening the new workflow run.
- You may have to refresh the page for it to appear.
- Check the logs for any errors or issues during the build process.
- Wait for the `build-and-push-to-gcr` step to complete successfully before using the new image.
6 changes: 4 additions & 2 deletions rust/main/agents/validator/src/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl ValidatorSubmitter {
"Incorrect tree root, something went wrong"
);

let mut panic_message = "Incorrect tree root, something went wrong.".to_owned();
let mut panic_message = "Incorrect tree root. Most likely a reorg has occurred. Please reach out for help, this is a potentially serious error impacting signed messages. Do NOT forcefully resume operation of this validator. Keep it crashlooping or shut down until receive support.".to_owned();
if let Err(e) = self
.checkpoint_syncer
.write_reorg_status(&reorg_event)
Expand Down Expand Up @@ -680,7 +680,9 @@ mod test {
}

#[tokio::test]
#[should_panic(expected = "Incorrect tree root, something went wrong.")]
#[should_panic(
expected = "Incorrect tree root. Most likely a reorg has occurred. Please reach out for help, this is a potentially serious error impacting signed messages. Do NOT forcefully resume operation of this validator. Keep it crashlooping or shut down until receive support."
)]
async fn reorg_is_detected_and_persisted_to_checkpoint_storage() {
let unix_timestamp = chrono::Utc::now().timestamp() as u64;
let expected_reorg_period = 12;
Expand Down
6 changes: 3 additions & 3 deletions rust/main/config/mainnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8592,10 +8592,10 @@
"plume": {
"blockExplorers": [
{
"apiUrl": "https://phoenix-explorer.plumenetwork.xyz/api",
"apiUrl": "https://explorer.plume.org/api",
"family": "blockscout",
"name": "Plume Explorer",
"url": "https://phoenix-explorer.plumenetwork.xyz"
"url": "https://explorer.plume.org"
}
],
"blocks": {
Expand Down Expand Up @@ -8623,7 +8623,7 @@
"protocol": "ethereum",
"rpcUrls": [
{
"http": "https://phoenix-rpc.plumenetwork.xyz"
"http": "https://rpc.plume.org"
}
],
"technicalStack": "arbitrumnitro",
Expand Down
6 changes: 3 additions & 3 deletions rust/main/config/testnet_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2707,10 +2707,10 @@
"plumetestnet2": {
"blockExplorers": [
{
"apiUrl": "https://testnet-explorer.plumenetwork.xyz/api",
"apiUrl": "https://testnet-explorer.plume.org/api",
"family": "blockscout",
"name": "Plume Explorer",
"url": "https://testnet-explorer.plumenetwork.xyz"
"url": "https://testnet-explorer.plume.org"
}
],
"blocks": {
Expand Down Expand Up @@ -2739,7 +2739,7 @@
"protocol": "ethereum",
"rpcUrls": [
{
"http": "https://testnet-rpc.plumenetwork.xyz"
"http": "https://testnet-rpc.plume.org"
}
],
"technicalStack": "arbitrumnitro",
Expand Down
2 changes: 1 addition & 1 deletion rust/main/hyperlane-base/src/settings/checkpoint_syncer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub enum CheckpointSyncerConf {
#[derive(Debug, thiserror::Error)]
pub enum CheckpointSyncerBuildError {
/// A reorg event has been detected in the checkpoint syncer when building it
#[error("A reorg event has been detected: {0:?}")]
#[error("Fatal: A reorg event has been detected. Please reach out for help, this is a potentially serious error impacting signed messages. Do NOT forcefully resume operation of this validator. Keep it crashlooping or shut down until receive support. {0:?}")]
ReorgEvent(ReorgEvent),
/// Error communicating with the chain
#[error(transparent)]
Expand Down
24 changes: 16 additions & 8 deletions rust/sealevel/environments/mainnet3/gas-oracle-configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@
},
"overhead": 333774
},
"abstract": {
"oracleConfig": {
"tokenExchangeRate": "187056373229658428214",
"gasPrice": "193418836",
"tokenDecimals": 18
},
"overhead": 333774
},
"apechain": {
"oracleConfig": {
"tokenExchangeRate": "49999132185504026",
"gasPrice": "1280415238976",
"tokenDecimals": 18
},
"overhead": 166887
},
"bsc": {
"oracleConfig": {
"tokenExchangeRate": "62110871980005554012",
Expand All @@ -56,14 +72,6 @@
},
"overhead": 600000
},
"abstract": {
"oracleConfig": {
"tokenExchangeRate": "187056373229658428214",
"gasPrice": "193418836",
"tokenDecimals": 18
},
"overhead": 333774
},
"artela": {
"oracleConfig": {
"tokenExchangeRate": "152446195501249",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"solanamainnet": {
"hex": "0x1071f5fcc751c8ef4c77456b617b76e17375cddf8364fe417b403f74c43e5d7c",
"base58": "27CK2NMbkSTTddgbBDvujccpqNrfGztr9WggXusNmnD1"
},
"bsc": {
"hex": "0x000000000000000000000000cb508877ffe5a085b2474641dd3b28f8bc22a57c",
"base58": "1111111111113qHaSkbVC6n27M5jBCfJURoVVszj"
},
"abstract": {
"hex": "0x000000000000000000000000bcda9ae6a148bc4fb411979ffa883c9d1df08f43",
"base58": "1111111111113dbrwMrFnehbw2Yo2ZaCdnbEJBSz"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"abstract": {
"type": "synthetic",
"decimals": 6,
"name": "Project Mirai",
"symbol": "MIRAI",
"owner": "",
"foreignDeployment": "0xbCdA9Ae6A148Bc4fb411979fFA883c9D1DF08F43"
},
"bsc": {
"type": "synthetic",
"decimals": 6,
"name": "Project Mirai",
"symbol": "MIRAI",
"owner": "",
"foreignDeployment": "0xcb508877ffe5a085B2474641dD3B28F8Bc22A57c"
},
"solanamainnet": {
"type": "collateral",
"decimals": 6,
"interchainGasPaymaster": "AkeHBbE5JkwVppujCQQ6WuxsVsJtruBAjUo6fDCFp6fF",
"token": "5evN2exivZXJfLaA1KhHfiJKWfwH8znqyH36w1SFz89Y",
"owner": "GpYhR9WY1i2V2jE7amN4RsSNSfzu4JeMkPEeWrCprFPS"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"base": {
"hex": "0x00000000000000000000000026af973a5b256f9b9bc0b1a3c566de1566568a87",
"base58": "111111111111YG4VUEpTecUfFXDssQfKUpCGdZG"
},
"ethereum": {
"hex": "0x0000000000000000000000003c43c421f08e2a48889ea3f75a747b7a7a366a0b",
"base58": "111111111111qhNqRUzcpvPZ4XypQPtGsRtHjR4"
},
"subtensor": {
"hex": "0x000000000000000000000000b833e8137fedf80de7e908dc6fea43a029142f20",
"base58": "1111111111113Zqsxh77mETmH4DKhM9r8bPJonHm"
},
"solanamainnet": {
"hex": "0x03f0d1b0ebbc3caa2a101111e26b6ee3ac2a971ae2dc841f14eda9b3cb9cf5b7",
"base58": "GPCsiXvm9NaFjrxB6sThscap6akyvRgD5V6decCk25c"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"solanamainnet": {
"type": "collateral",
"decimals": 6,
"owner": "BNGDJ1h9brgt6FFVd8No1TVAH48Fp44d7jkuydr1URwJ",
"name": "USD Coin",
"symbol": "USDC",
"token": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"interchainGasPaymaster": "AkeHBbE5JkwVppujCQQ6WuxsVsJtruBAjUo6fDCFp6fF",
"uri": "https://raw.githubusercontent.com/hyperlane-xyz/hyperlane-registry/63ae6c0a0415d480c00880e64ec8a9c3724b4e37/deployments/warp_routes/USDC/metadata.json"
},
"base": {
"type": "collateral",
"decimals": 6,
"foreignDeployment": "0x26af973A5b256F9B9bc0B1A3c566de1566568a87",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"ethereum": {
"type": "collateral",
"decimals": 6,
"foreignDeployment": "0x3C43C421f08e2a48889eA3F75a747b7a7a366A0b",
"token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
"subtensor": {
"type": "synthetic",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC",
"foreignDeployment": "0xB833E8137FEDf80de7E908dc6fea43a029142F20"
}
}
7 changes: 7 additions & 0 deletions solidity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @hyperlane-xyz/core

## 7.1.6

### Patch Changes

- Updated dependencies [0de63e0]
- @hyperlane-xyz/utils@13.0.0

## 7.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion solidity/contracts/PackageVersioned.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ pragma solidity >=0.6.11;
**/
abstract contract PackageVersioned {
// GENERATED CODE - DO NOT EDIT
string public constant PACKAGE_VERSION = "7.1.5";
string public constant PACKAGE_VERSION = "7.1.6";
}
4 changes: 2 additions & 2 deletions solidity/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@hyperlane-xyz/core",
"description": "Core solidity contracts for Hyperlane",
"version": "7.1.5",
"version": "7.1.6",
"dependencies": {
"@arbitrum/nitro-contracts": "^1.2.1",
"@chainlink/contracts-ccip": "^1.5.0",
"@eth-optimism/contracts": "^0.6.0",
"@hyperlane-xyz/utils": "12.6.0",
"@hyperlane-xyz/utils": "13.0.0",
"@layerzerolabs/lz-evm-oapp-v2": "2.0.2",
"@matterlabs/hardhat-zksync-solc": "1.2.5",
"@matterlabs/hardhat-zksync-verify": "1.7.1",
Expand Down
1 change: 1 addition & 0 deletions starknet/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.env
dist
release
tmp
5 changes: 5 additions & 0 deletions starknet/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensions": ["ts"],
"spec": ["src/**/*.test.*"],
"node-option": ["experimental-specifier-resolution=node"]
}
7 changes: 7 additions & 0 deletions starknet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @hyperlane-xyz/starknet-core

## 13.0.0

### Major Changes

- f8696c7: feat: Add Starknet contract ABI fetching and contract artifact generation
2 changes: 1 addition & 1 deletion starknet/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default [
},
},
{
ignores: ['scripts/**/*'],
ignores: ['scripts/**/*', 'tests/**/*'],
},
];
Loading
Loading