Skip to content

Commit

Permalink
chore: add deployments for staging (#1547)
Browse files Browse the repository at this point in the history
<!--- Please provide a general summary of your changes in the title
above -->

<!-- Give an estimate of the time you spent on this PR in terms of work
days.
Did you spend 0.5 days on this PR or rather 2 days?  -->

Time spent on this PR: 0.1 day

## Pull request type

<!-- Please try to limit your pull request to one type,
submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [x] Documentation content changes
- [ ] Other (please describe):

## What is the new behavior?
Add the correct addresses for staging deployments + fix custom network
issue.

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/1547)
<!-- Reviewable:end -->
  • Loading branch information
greged93 authored Oct 28, 2024
1 parent 78460f8 commit d78508a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 0.1
cli:
version: 1.22.6
version: 1.22.7
plugins:
sources:
- id: trunk
ref: v1.6.3
ref: v1.6.4
uri: https://github.com/trunk-io/plugins
runtimes:
enabled:
Expand Down Expand Up @@ -40,20 +40,20 @@ lint:
run_linter_from: workspace
enabled:
- osv-scanner@1.9.0
- trivy@0.56.1
- trivy@0.56.2
- cairo@SYSTEM
- solidity@SYSTEM
- actionlint@1.7.3
- black@24.10.0
- checkov@3.2.257
- checkov@3.2.269
- codespell@2.3.0
- git-diff-check
- hadolint@2.12.0
- isort@5.13.2
- markdownlint@0.42.0
- oxipng@9.1.2
- prettier@3.3.3
- ruff@0.6.9
- ruff@0.7.1
- shellcheck@0.10.0
- shfmt@3.6.0
- taplo@0.9.3
Expand Down
32 changes: 32 additions & 0 deletions deployments/starknet-sepolia-staging/kakarot_deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,37 @@
"WETH": {
"address": "0x2e983a1ba5e8b38aaaec4b440b9ddcfbf72e15d1",
"starknet_address": "0x130a102efefe1bee562f6d014ba32499d578895781a17271458e228fbe0b346"
},
"WETH9": {
"address": "0xd52042e28e6f726738a48497a0728fc5977af3f8",
"starknet_address": "0x72ee3ae25c98b53e5f7879c7642112b82e804d4ac6c541a6e94f0670afd0d85"
},
"KakarotETH": {
"address": "0x61b3bf630b719d54ce0d5256b598d40da1680eec",
"starknet_address": "0x26b38fa9a6b88d0bcc3267585651206a6652bbd3ae6e0dc45cdbc69f6200ce2"
},
"KakarotSTRK": {
"address": "0x87ce4c6e0bf156031e74a07c5b725800f9df56ca",
"starknet_address": "0x6dd744038e504ee3252255509519a6e419534221a47b00f61966a3d80ec3b5b"
},
"Coinbase": {
"address": "0x7a2dee402f31632592e3c9270d4f12e450877f86",
"starknet_address": "0x3b44d33827c5dbdec5a1b407de088f1941da9a576e24920de6c3b41f2047d7"
},
"Multicall3": {
"address": "0xca11bde05977b3631167028862be2a173976ca11",
"starknet_address": "0x4a8daeb5db2bfe2d9a37f74e6f4a2f7bfa7947bca35f4553c071d66cc242f82"
},
"ArachnidProxy": {
"address": "0x4e59b44847b379578588920ca78fbf26c0b4956c",
"starknet_address": "0x15701d69558e5cb4a56581aead3381cff3cc604063d9882eeff228b830d2bef"
},
"CreateX": {
"address": "0xba5ed099633d3b313e4d5f7bdc1305d3c28ba5ed",
"starknet_address": "0x3cf1d8802ffc46c152fbdb8b213468ca6aad2c51d2ab43fa7cc57884b3ff2f0"
},
"L2KakarotMessaging": {
"address": "0xc9c677a629aae7a149f5f0e7546394f2630e8e9e",
"starknet_address": "0x4fc85a8f1dd13464031e996dec1aeb1734eac3141413577638e0529487137df"
}
}
5 changes: 5 additions & 0 deletions deployments/starknet-sepolia-staging/l1_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"StarknetCore": "0xE2Bb56ee936fd6433DC0F6e7e3b8365C906AA057",
"StarknetVerifier": "0x07ec0D28e50322Eb0C159B9090ecF3aeA8346DFe",
"L1KakarotMessaging": "0x095Eb56Fe5E66D8AEbf20a3412c40a0d6537C059"
}
1 change: 1 addition & 0 deletions kakarot_scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class NetworkType(Enum):
"type": NetworkType.PROD,
"check_interval": float(os.getenv("CHECK_INTERVAL", 0.1)),
"max_wait": float(os.getenv("MAX_WAIT", 30)),
"l1_rpc_url": os.getenv("L1_RPC_URL"),
}
else:
NETWORK = NETWORKS["katana"]
Expand Down

0 comments on commit d78508a

Please sign in to comment.