forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MystenLabs:main' into main
- Loading branch information
Showing
65 changed files
with
2,091 additions
and
1,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ runs: | |
# - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
|
||
- name: Check s3 if binaries have been uploaded already | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ runs: | |
fetch-depth: 0 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- id: changes | ||
name: Detect changes | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
fetch-depth: 2 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
# - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- run: cargo build --bin sui-test-validator --bin sui --profile dev | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ jobs: | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected] | ||
with: | ||
repository: MystenLabs/sui-operations | ||
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }} | ||
event-type: github-issues-external-prs-monitor | ||
client-payload: '{"author": "${{github.event.pull_request.user.login}}", "event_name": "pull_request", "pull_request_number": "${{github.event.pull_request.number}}"}' | ||
|
||
|
@@ -28,6 +29,7 @@ jobs: | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected] | ||
with: | ||
repository: MystenLabs/sui-operations | ||
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }} | ||
event-type: github-issues-external-prs-monitor | ||
client-payload: '{"author": "${{github.event.issue.user.login}}", "event_name": "issue", "issue_number": "${{github.event.issue.number}}"}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,10 @@ jobs: | |
run: | | ||
curl -L https://foundry.paradigm.xyz | { cat; echo '$FOUNDRY_BIN_DIR/foundryup'; } | bash | ||
echo "$HOME/.config/.foundry/bin" >> $GITHUB_PATH | ||
- name: Install Foundry Dependencies | ||
working-directory: bridge/evm | ||
run: | | ||
forge install https://github.com/OpenZeppelin/[email protected] https://github.com/foundry-rs/[email protected] https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades --no-git --no-commit | ||
- name: cargo test | ||
run: | | ||
cargo nextest run --profile ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,7 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Setup Node | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
@@ -133,6 +133,10 @@ jobs: | |
run: | | ||
curl -L https://foundry.paradigm.xyz | { cat; echo '$FOUNDRY_BIN_DIR/foundryup'; } | bash | ||
echo "$HOME/.config/.foundry/bin" >> $GITHUB_PATH | ||
- name: Install Foundry Dependencies | ||
working-directory: bridge/evm | ||
run: | | ||
forge install https://github.com/OpenZeppelin/[email protected] https://github.com/foundry-rs/[email protected] https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades --no-git --no-commit | ||
- name: cargo test | ||
run: | | ||
cargo nextest run --profile ci | ||
|
@@ -477,14 +481,14 @@ jobs: | |
if: needs.diff.outputs.isSolidity == 'true' | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- name: Install Foundry | ||
run: | | ||
curl -L https://foundry.paradigm.xyz | { cat; echo '$FOUNDRY_BIN_DIR/foundryup'; } | bash | ||
echo "$HOME/.config/.foundry/bin" >> $GITHUB_PATH | ||
- name: Install Dependencies | ||
- name: Install Foundry Dependencies | ||
working-directory: bridge/evm | ||
run: | | ||
run: | | ||
forge install https://github.com/OpenZeppelin/[email protected] https://github.com/foundry-rs/[email protected] https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades --no-git --no-commit | ||
- name: Check Bridge EVM Unit Tests | ||
shell: bash | ||
|
@@ -493,4 +497,4 @@ jobs: | |
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} | ||
run: | | ||
forge clean | ||
forge test --ffi | ||
forge test --ffi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
@@ -33,7 +33,7 @@ jobs: | |
fetch-depth: 2 | ||
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # [email protected] | ||
with: | ||
version: 9 | ||
version: 9.1.1 | ||
- name: Install Nodejs | ||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,10 @@ Duplicate rename the `.env.example` file to `.env`. You'll need accounts and api | |
#### Dependencies | ||
|
||
To install the project dependencies, run: | ||
|
||
```bash | ||
forge install | ||
forge install https://github.com/OpenZeppelin/[email protected] https://github.com/foundry-rs/[email protected] https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades --no-git --no-commit | ||
``` | ||
|
||
#### Compilation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.