-
Notifications
You must be signed in to change notification settings - Fork 301
feat(target_chains/ethereum): add arbirum stylus sdk #2041
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
Merged
Merged
Changes from all commits
Commits
Show all changes
247 commits
Select commit
Hold shift + click to select a range
e002660
chore: init stylus project
Ifechukwudaniel 8d19bc1
chore: added scripts
Ifechukwudaniel 08c010c
chore: created workspace
Ifechukwudaniel 483eced
chore: docs setup
Ifechukwudaniel 9d4a368
chore: pyth contracts init
Ifechukwudaniel 900f2d4
chore: docs command setup
Ifechukwudaniel 583ca72
mock: example project
Ifechukwudaniel c813c7a
chore : created test workspace
Ifechukwudaniel c088e12
chore: changed toml version
Ifechukwudaniel 62030d7
chore: created mock pyth workspace
Ifechukwudaniel d731068
chore: renamed project sdk
Ifechukwudaniel 83ccc12
chore: refactored files
Ifechukwudaniel e94d4c5
chore : helpers functions
Ifechukwudaniel c891962
refacor : refactord code
Ifechukwudaniel 93a7291
chore: removed struct type , implemented abstract_pyth
Ifechukwudaniel 65ea9a5
chore: created storage price and storage price feed
Ifechukwudaniel 28019ed
chore: integrating storage price and storage price feed
Ifechukwudaniel 81f45ae
chore: fixed error created by storage type
Ifechukwudaniel 96dda48
chore: config changes
Ifechukwudaniel dc847cd
chore: forge init
Ifechukwudaniel 6588fe6
forge install: forge-std
Ifechukwudaniel da11d45
mock pyth : created mock solidity pyth contract
Ifechukwudaniel 5cc9626
chore: Renamed MockPyth Scripts
Ifechukwudaniel da154c0
chore: started testing
Ifechukwudaniel e3302d8
chore: removed projects
Ifechukwudaniel 824d767
feture :completed unit test and stylus contracts
Ifechukwudaniel 60baf08
added initializtion for mock
Ifechukwudaniel 86ad529
examples setup
Ifechukwudaniel a131593
chore:fixed imports
Ifechukwudaniel 299b0ce
chore:fixed types
Ifechukwudaniel 7ac267f
completed contract
Ifechukwudaniel 41e3009
External call and fution call sample
Ifechukwudaniel 05b9593
chore: Changed motsu
Ifechukwudaniel 70e2e6c
chore: Created Proxy call example
Ifechukwudaniel 5ad08c4
feture: Example for both type of call
Ifechukwudaniel 568ba56
chore: Added beches
Ifechukwudaniel 72a9b5b
Lib Changes
Ifechukwudaniel ec4d75b
chore:Scripts modifications
Ifechukwudaniel 047a73d
chore : fuction call and proxy call
Ifechukwudaniel ded7cb4
chore: added workflow
Ifechukwudaniel d31557a
chore: doc pages docs
Ifechukwudaniel 86dfbb1
chore: doc changes
Ifechukwudaniel bcd86d6
smaller chages
Ifechukwudaniel 94517ee
chore: benches and toml changes
Ifechukwudaniel 703e43a
chore: added foundry to e2e workflow
Ifechukwudaniel 28fa93e
chore:set up benchmark
Ifechukwudaniel 22bae51
Added Benches
Ifechukwudaniel 85cd41c
chore:added setup mock pyth script to bench and e2e and logs
Ifechukwudaniel d1c010b
changes
Ifechukwudaniel 8826fa5
feture: Added Proxy call to bench
Ifechukwudaniel 343de13
chore: Removed sol file
Ifechukwudaniel 1407ed4
Added deploy scripts
Ifechukwudaniel 15a47a9
chore: proxy calls
Ifechukwudaniel 5904a1a
chore: removed file
Ifechukwudaniel 28d9316
changes
Ifechukwudaniel 74a4dd4
chore:added constructor file and worked on bench
Ifechukwudaniel b1dc655
chore: moved Ipyth to pyth-contract file
Ifechukwudaniel 5fafd30
chore: added variable to bash scripts
Ifechukwudaniel 5171513
chore:decode and encode helper
Ifechukwudaniel 08fd4cb
chore: fixed mock pyth deploy script
Ifechukwudaniel e5ba09d
chore: removed dotenv crates
Ifechukwudaniel d1d5cec
chore: completed benches functions
Ifechukwudaniel 64e3be5
chore: examples and proxy call fixes
Ifechukwudaniel 69b61df
changes
Ifechukwudaniel a21b5fa
chore: added create functions
Ifechukwudaniel b354747
chore: completed get data benchmarks
Ifechukwudaniel d1a4eae
chore:contract changes
Ifechukwudaniel 8464896
chore:function calls
Ifechukwudaniel 196018c
chore: Ignore all broadcast
Ifechukwudaniel 072ec4e
chore: completed get benches
Ifechukwudaniel 70432b7
chore:changes
Ifechukwudaniel cd728b6
chore: Added Type Test
Ifechukwudaniel 30c5056
chore: tests
Ifechukwudaniel 908b866
env and examples
Ifechukwudaniel 3538303
Update README.md
Ifechukwudaniel bd054a3
Update README.md
Ifechukwudaniel e0f68e4
Update README.md
Ifechukwudaniel 58f5a2d
chore: worked on bench and e2e test
Ifechukwudaniel 0af7c1a
removed log
Ifechukwudaniel f389baa
chore: completed e2e test for function call example
Ifechukwudaniel 9471852
chore : changed pyth script
Ifechukwudaniel dee2846
chore:completed e2e test
Ifechukwudaniel 9a8d23d
chore:benches
Ifechukwudaniel ebb4858
Update README.md
Ifechukwudaniel 0f6da86
Update README.md
Ifechukwudaniel 4b84ac0
Update README.md
Ifechukwudaniel d5b33e0
Update README.md
Ifechukwudaniel 87ea83b
Update README.md
Ifechukwudaniel 46810a6
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel de44253
chore: removed docs
Ifechukwudaniel 670456a
Update README.md
Ifechukwudaniel 4b8f43c
Update README.md
Ifechukwudaniel 0625759
Update CODEOWNERS
Ifechukwudaniel 1924721
Delete target_chains/ethereum/sdk/stylus/SECURITY.md
Ifechukwudaniel b7e1a30
Delete target_chains/ethereum/sdk/stylus/lib/crypto directory
Ifechukwudaniel 2ca8638
Delete target_chains/ethereum/sdk/stylus/.linkspector.yml
Ifechukwudaniel 4ee4ccf
Delete target_chains/ethereum/sdk/stylus/netlify.toml
Ifechukwudaniel bf3199d
Update Cargo.toml removed openzepline crypto
Ifechukwudaniel a74751d
Update README.md
Ifechukwudaniel 3ed5a92
Delete target_chains/ethereum/sdk/stylus/pyth-solidity/.env.example
Ifechukwudaniel 7d2f445
Update gas-bench.yml
Ifechukwudaniel 5c2b2c0
chore:removed a bunch of openzeplin files
Ifechukwudaniel 038015b
chore: removed workflow
Ifechukwudaniel 013ea47
chore:Added Guidlines
Ifechukwudaniel 655e55e
chore: motsu changes
Ifechukwudaniel 9628334
Create Test.md
Ifechukwudaniel 3628d14
Update Test.md
Ifechukwudaniel 859e6e8
Rename Test.md to TEST.md
Ifechukwudaniel 28c3def
Update README.md
Ifechukwudaniel 42241a6
Update README.md
Ifechukwudaniel 45ff362
Update README.md
Ifechukwudaniel a118553
Delete target_chains/ethereum/sdk/stylus/TEST.md
Ifechukwudaniel 5f5bc5e
chore: removed mostu
Ifechukwudaniel 1397b2b
chore: changed Fixedbytes<32> to B256
Ifechukwudaniel 6b37ea5
chore: removed local e2e testing library
Ifechukwudaniel b2ab6db
chore: changes
Ifechukwudaniel a610d23
forge install: forge-std
Ifechukwudaniel 86a5d4a
forge install: openzeppelin-foundry-upgrades
Ifechukwudaniel 819f8a1
forge install: openzeppelin-contracts
Ifechukwudaniel bc78af5
chore: formated code
Ifechukwudaniel 36b862d
Merge branch 'main' into stylus-sdk
Ifechukwudaniel 8617b13
chore: fixed scripts
Ifechukwudaniel 746dfdf
Update target_chains/ethereum/sdk/stylus/README.md
Ifechukwudaniel fa25f06
Update target_chains/ethereum/sdk/stylus/README.md
Ifechukwudaniel fb942d2
chore: rustfmt changes
Ifechukwudaniel c2e0629
chore: changed solidity licenses to Apache 2
Ifechukwudaniel cf0f807
chore: deleted codeowner file and link
Ifechukwudaniel 1b1e351
chore: removed comments
Ifechukwudaniel 7c529fe
solidity changes
Ifechukwudaniel c1e656d
chore: removed folder
Ifechukwudaniel c9be56a
chore: removed = for version
Ifechukwudaniel 8831682
forge install: forge-std
Ifechukwudaniel 88ace13
forge install: openzeppelin-foundry-upgrades
Ifechukwudaniel 1cd711e
forge install: openzeppelin-contracts-upgradeable
Ifechukwudaniel 841af31
chore: Remove MIT license
Ifechukwudaniel f6a5fe6
chore: script changes
Ifechukwudaniel ce78d45
chore: removed dependices
Ifechukwudaniel f693364
forge install: forge-std
Ifechukwudaniel 7a63cfd
forge install: openzeppelin-foundry-upgrades
Ifechukwudaniel 42903d5
chore:added description to script
Ifechukwudaniel 45d2d8d
Update target_chains/ethereum/sdk/stylus/README.md
Ifechukwudaniel 3912338
Update target_chains/ethereum/sdk/stylus/README.md
Ifechukwudaniel 50c7cb9
Update target_chains/ethereum/sdk/stylus/contracts/src/pyth/mod.rs
Ifechukwudaniel a399be4
Update target_chains/ethereum/sdk/stylus/contracts/src/pyth/errors.rs
Ifechukwudaniel 4e00e9f
chore: changed // to /// and remove licenses because of root licenese
Ifechukwudaniel 86e1b5b
chore: Apache-2.0 license
Ifechukwudaniel a91e478
chore: renamed file name pyth-solidity to pyth-mock-solidity
Ifechukwudaniel ebe40a8
Merge branch 'main' into stylus-sdk
Ifechukwudaniel f01d0e8
chore: removed commented code
Ifechukwudaniel a87645b
chore: foundry test workflow
Ifechukwudaniel ad0468f
chore: workflows
Ifechukwudaniel d3167e0
chore: changed readme to rust
Ifechukwudaniel 7f53584
chore: fixed description mock solidity
Ifechukwudaniel 605fc58
chore: fixed zero case
Ifechukwudaniel 233f68b
chore: change all use case of gt and lt to > and <
Ifechukwudaniel d0973f2
chore: workflow
Ifechukwudaniel cea2843
chore: replaced the file with the link
Ifechukwudaniel 0fdbb3e
chore: refactor and removed unused code
Ifechukwudaniel 36f05f4
chore: renamed function for test
Ifechukwudaniel 658ad51
chore: added some sort of path filters
Ifechukwudaniel 5a15e17
Merge pull request #1 from pyth-network/main
Ifechukwudaniel dd82af7
chore: add cargo fmt and cargo clippy for stylus sdk
Ifechukwudaniel 8e7c7cc
chore: package-json.lock moved depencies to pnpm-workspace.yaml
Ifechukwudaniel 9e34259
chore:test attribute
Ifechukwudaniel 4a9c2c1
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel 960ea37
chore: git workflows
Ifechukwudaniel 1bd5dee
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel a1816b1
chore: removed functions example
Ifechukwudaniel 3094296
chore: switch for item in update_data
Ifechukwudaniel b1646d5
chore: fixed example
Ifechukwudaniel a0e25ee
chore: refactor examples
Ifechukwudaniel 153ebc5
cargo changes
Ifechukwudaniel a676824
chore: pyth example , and function call example
Ifechukwudaniel c93aca8
chore: added other example
Ifechukwudaniel 14b400a
chore: install
Ifechukwudaniel 15ca2f3
chore:installations
Ifechukwudaniel 19673ea
chore: mock pyth
Ifechukwudaniel f1626ef
chore: benches and test
Ifechukwudaniel a447f3f
smaller changes
Ifechukwudaniel 6571d3b
chore: mock
Ifechukwudaniel 37ede70
chore: bench format
Ifechukwudaniel a1258ed
chore: code format
Ifechukwudaniel 5a828da
chore: code format
Ifechukwudaniel 84ecf17
chore: removed workflow
Ifechukwudaniel 379dd58
chore: pnpm install
Ifechukwudaniel 45d4721
chore: removed package-lock.json
Ifechukwudaniel 7557a76
chore: fixed commented out job
Ifechukwudaniel 4380ef4
chore: ran pre-commit run --all
Ifechukwudaniel 996f398
chore: pre-commit run --all
Ifechukwudaniel 186d3a8
chore:removed space
Ifechukwudaniel 796680d
Update .github/workflows/cli-foundry-test.yml
Ifechukwudaniel 326561a
chore:removed space
Ifechukwudaniel 1fced8d
chore: data changes
Ifechukwudaniel f73cd0f
Update .github/workflows/cli-stylus-nostd.yml
Ifechukwudaniel 71f0040
Update .github/workflows/cli-stylus-gas-bench.yml
Ifechukwudaniel 3e8d049
Update .github/workflows/cli-stylus-e2e-tests.yml
Ifechukwudaniel 27b5f0c
Update .github/workflows/cli-stylus-check.yml
Ifechukwudaniel d41cac7
Update .github/workflows/cli-stylus-check-wasm.yml
Ifechukwudaniel a6c1570
Update .github/workflows/cli-foundry-test.yml
Ifechukwudaniel 0200d55
Update .github/workflows/cli-stylus-e2e-tests.yml
Ifechukwudaniel 5dcbcf0
Update .github/workflows/cli-stylus-check-wasm.yml
Ifechukwudaniel 4a380ce
Update .github/workflows/cli-stylus-check.yml
Ifechukwudaniel 7065e7e
Update .github/workflows/cli-stylus-nostd.yml
Ifechukwudaniel e92f61e
Update .github/workflows/cli-stylus-gas-bench.yml
Ifechukwudaniel 315ab4d
chore: added back existing submodule
Ifechukwudaniel fdeaa4b
chore: data changes
Ifechukwudaniel 823eab0
cl fixes
Ifechukwudaniel 4c1d9dc
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel 468c3c3
cli fixes
Ifechukwudaniel c57fee0
chore: toolchain: nightly-2024-01-01
Ifechukwudaniel ea1fdcf
chore: version changes
Ifechukwudaniel 5cd82fd
toolchain
Ifechukwudaniel 4e10a11
removed typo workflow
Ifechukwudaniel 953bb25
fixed rust issue
Ifechukwudaniel 2ae7cf6
changed rust version
Ifechukwudaniel 126e076
added foundry
Ifechukwudaniel 654a777
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel fd1768f
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel f5384fc
chore: changes
Ifechukwudaniel 4171d15
chore:bench fixes
Ifechukwudaniel 187ada8
chore: changed cli workflow
Ifechukwudaniel 35886d8
chore: format
Ifechukwudaniel 8aa761f
ci changes
Ifechukwudaniel 68e9a6d
chore: added space
Ifechukwudaniel 568c9d2
precommit fixes
Ifechukwudaniel 0c1d72b
added new line
Ifechukwudaniel 05c1324
removed
Ifechukwudaniel d0b18c4
removed line
Ifechukwudaniel 0d38c25
chore: ci changes
Ifechukwudaniel 996ef9a
chore : changes
Ifechukwudaniel 7f8384c
changed ci script
Ifechukwudaniel 916ade7
removed if statements for test
Ifechukwudaniel a2154af
chore: changes
Ifechukwudaniel 5b3b68e
chore:fixes
Ifechukwudaniel fd9c769
chore: fixes
Ifechukwudaniel c27255a
chore: fixes
Ifechukwudaniel 590d433
added evm file
Ifechukwudaniel 2be868c
chore: checking key
Ifechukwudaniel f51ffe9
testing keys
Ifechukwudaniel 896f6f5
Merge branch 'pyth-network:main' into stylus-sdk
Ifechukwudaniel 9852260
remove comand
Ifechukwudaniel 4d5bcbb
precommit fixes
Ifechukwudaniel 2546665
chore: removed workflow
Ifechukwudaniel d9ce57c
Merge branch 'main' into stylus-sdk
Ifechukwudaniel b7a709e
cl changes
Ifechukwudaniel 6349dc8
fmt
Ifechukwudaniel df0978c
fixed verion issue
Ifechukwudaniel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: stylus-foundry-test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
env: | ||
FOUNDRY_PROFILE: ci | ||
jobs: | ||
check: | ||
name: Foundry project | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Show Forge version | ||
run: forge --version |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: stylus-check-wasm | ||
# This workflow checks that the compiled wasm binary of every example contract | ||
# can be deployed to Arbitrum Stylus. | ||
on: | ||
pull_request: | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
permissions: | ||
contents: read | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
check-wasm: | ||
name: Check WASM binary | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
rustflags: "" | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Install cargo-stylus | ||
run: cargo install [email protected] | ||
- name: Run wasm check | ||
run: ./scripts/check-wasm.sh |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: stylus-check | ||
# This workflow runs whenever a PR is opened or updated, or a commit is pushed | ||
# to main. It runs several checks: | ||
# - fmt: checks that the code is formatted according to `rustfmt`. | ||
# - clippy: checks that the code does not contain any `clippy` warnings. | ||
# - doc: checks that the code can be documented without errors. | ||
# - hack: check combinations of feature flags. | ||
# - typos: checks for typos across the repo. | ||
permissions: | ||
contents: read | ||
# This configuration allows maintainers of this repo to create a branch and | ||
# pull request based on the new branch. Restricting the push trigger to the | ||
# main branch ensures that the PR only gets built once. | ||
on: | ||
pull_request: | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
fmt: | ||
runs-on: ubuntu-latest | ||
name: nightly / fmt | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install rust | ||
# We run in nightly to make use of some features only available there. | ||
# Check out `rustfmt.toml` to see which ones. | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
components: rustfmt | ||
rustflags: "" | ||
|
||
- name: Check formatting | ||
run: cargo fmt --all --check | ||
clippy: | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.toolchain }} / clippy | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
permissions: | ||
contents: read | ||
checks: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Get early warning of new lints which are regularly introduced in beta | ||
# channels. | ||
toolchain: [stable, beta] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install rust ${{ matrix.toolchain }} | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
components: clippy | ||
rustflags: "" |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This workflow checks whether the library is able to run without the std | ||
# library. See `check.yml` for information about how the concurrency | ||
# cancellation and workflow triggering works. | ||
name: stylus-no-std | ||
permissions: | ||
contents: read | ||
on: | ||
pull_request: | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- target_chains/ethereum/sdk/stylus/** | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
nostd: | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.target }} | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
strategy: | ||
matrix: | ||
target: [wasm32-unknown-unknown] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
rustflags: "" | ||
- name: Add rust targets ${{ matrix.target }} | ||
run: rustup target add ${{ matrix.target }} | ||
- name: Cargo check | ||
run: cargo check --release --target ${{ matrix.target }} --no-default-features |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Pyth Stylus SDK to crates.io | ||
|
||
on: | ||
push: | ||
tags: | ||
- pythnet-stylus-sdk-v* | ||
jobs: | ||
publish-pythnet-stylus-sdk: | ||
name: Publish Pythnet Stylus SDK | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN} | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
working-directory: target_chains/ethereum/sdk/stylus |
This file contains hidden or 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 hidden or 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
Submodule openzeppelin-contracts-upgradeable
added at
2d081f
Submodule openzeppelin-foundry-upgrades
added at
16e0ae
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[target.wasm32-unknown-unknown] | ||
rustflags = ["-C", "link-arg=-zstack-size=8192", "-C", "target-cpu=mvp"] | ||
|
||
[target.aarch64-apple-darwin] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] | ||
|
||
[target.x86_64-apple-darwin] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/target | ||
|
||
.env | ||
|
||
**/node_modules/ | ||
|
||
docs/build/ | ||
|
||
**/.DS_Store | ||
|
||
**/nitro-testnode |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.