Skip to content

Commit

Permalink
Removed hardcoded artifacts (keep-starknet-strange#28)
Browse files Browse the repository at this point in the history
* updated core contract implementation

* merge : main

* feat : updated CoreContractInitData

* starknet core contract

* feat : updated contract code

* feat : updated contract builds

* feat : updated artifacts build

* feat : updated starknet contract build

* comments resolved

* refactor & lint fix

* refactor & lint fix

* feat : added script for artifact conversion

* updated makefile and ERC20

* feat : updated contracts

* fix : lint

* fix : path

* fix: path and lint

* feat : updated contract artifacts build

* feat : updated makefile

* feat : updated makefile

---------

Co-authored-by: Apoorv Sadana <[email protected]>
  • Loading branch information
ocdbytes and apoorvsadana authored Dec 2, 2024
1 parent 91057c0 commit cbffcd0
Show file tree
Hide file tree
Showing 64 changed files with 1,681 additions and 18,850 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cargo-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,28 @@ jobs:
# before the plugin, as the cache uses the current rustc version as its cache key
- run: rustup show

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install Ganache
run: |
npm install -g [email protected]
ganache --version
- name: Install Solc
run: |
pip install solc-select
solc-select install 0.8.19
solc-select use 0.8.19
solc --version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- uses: Swatinem/rust-cache@v2
- name: Format and clippy
run: |
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,28 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install Ganache
run: |
npm install -g [email protected]
ganache --version
- name: Install Solc
run: |
pip install solc-select
solc-select install 0.8.19
solc-select use 0.8.19
solc --version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Build the project
run: |
cargo build --release --workspace
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ script/anvil.json

.idea

artifacts/
10 changes: 10 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@
[submodule "lib/piltover"]
path = lib/piltover
url = https://github.com/keep-starknet-strange/piltover
[submodule "lib/starkgate-contracts"]
path = lib/starkgate-contracts
url = https://github.com/starknet-io/starkgate-contracts
[submodule "lib/starkgate-contracts-0.9"]
path = lib/starkgate-contracts-0.9
url = https://github.com/starknet-io/starkgate-contracts
branch = update-cairo-0.9.0
[submodule "lib/starkgate-contracts-82e651f"]
path = lib/starkgate-contracts-82e651f
url = https://github.com/starknet-io/starkgate-contracts.git
Loading

0 comments on commit cbffcd0

Please sign in to comment.