-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- **Some initial fixes** - **Update deployment folders, works on katana** - **Fix DualVMToken for legacy sn ERC20** - **Fix declaration for StarknetToken** - **Remove useless fixtures** - **Refacto relayers** <!-- 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/1590) <!-- Reviewable:end -->
- Loading branch information
1 parent
edf237f
commit 2121e99
Showing
66 changed files
with
922 additions
and
643 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 |
---|---|---|
@@ -1,64 +1,48 @@ | ||
# A Github token to download the CI artifacts | ||
# Used for fetching resources in the kakarot_scripts | ||
# Tokens for coverage and CI | ||
CODECOV_TOKEN= | ||
GITHUB_TOKEN= | ||
|
||
# An infura RPC key for mainnet/testnet | ||
# API keys | ||
INFURA_KEY= | ||
VOYAGER_API_KEY= | ||
NETHERMIND_API_KEY= | ||
|
||
# Account used by default in all kakarot_scripts | ||
# Prefixed accounts {NETWORK}_ will take precedeance over the default one | ||
MADARA_ACCOUNT_ADDRESS=0x3 | ||
MADARA_PRIVATE_KEY=0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7bcd1d | ||
|
||
SHARINGAN_ACCOUNT_ADDRESS= | ||
SHARINGAN_PRIVATE_KEY= | ||
SHARINGAN_RPC_URL="https://sharingan.madara.zone" | ||
|
||
# First account when using these networks with seed = 0 | ||
STARKNET_DEVNET_ACCOUNT_ADDRESS=0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691 | ||
STARKNET_DEVNET_PRIVATE_KEY=0x71d7bb07b9a64f6f78ac4c816aff4da9 | ||
|
||
STARKNET_SEPOLIA_RELAYER_ACCOUNT_ADDRESS= | ||
STARKNET_SEPOLIA_RELAYER_PRIVATE_KEY= | ||
STARKNET_SEPOLIA_ACCOUNT_ADDRESS= | ||
STARKNET_SEPOLIA_PRIVATE_KEY= | ||
# Starknet accounts | ||
STARKNET_DEVNET_ACCOUNT_ADDRESS= | ||
STARKNET_DEVNET_PRIVATE_KEY= | ||
# This default value is Anvil first account private key | ||
STARKNET_DEVNET_EVM_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
|
||
KATANA_ACCOUNT_ADDRESS=0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca | ||
KATANA_PRIVATE_KEY=0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a | ||
# This default value is Anvil first account private key | ||
KATANA_EVM_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
|
||
# Kakarot Sepolia (Testnet production and Testnet staging) | ||
KAKAROT_SEPOLIA_ACCOUNT_ADDRESS= | ||
KAKAROT_SEPOLIA_PRIVATE_KEY= | ||
KAKAROT_SEPOLIA_RPC_URL=https://juno-kakarot-dev.karnot.xyz/ | ||
|
||
KAKAROT_STAGING_ACCOUNT_ADDRESS= | ||
KAKAROT_STAGING_PRIVATE_KEY= | ||
KAKAROT_STAGING_RPC_URL=https://juno-kakarot-testnet-stage.karnot.xyz | ||
SEPOLIA_ACCOUNT_ADDRESS= | ||
SEPOLIA_PRIVATE_KEY= | ||
SEPOLIA_EVM_PRIVATE_KEY= | ||
|
||
# An EVM address that receives the fees | ||
KAKAROT_COINBASE_RECIPIENT=0x20eB005C0b9c906691F885eca5895338E15c36De | ||
STAGING_ACCOUNT_ADDRESS= | ||
STAGING_PRIVATE_KEY= | ||
STAGING_EVM_PRIVATE_KEY= | ||
|
||
# Default values in case no network match | ||
ACCOUNT_ADDRESS= | ||
PRIVATE_KEY= | ||
MAINNET_ACCOUNT_ADDRESS= | ||
MAINNET_PRIVATE_KEY= | ||
MAINNET_EVM_PRIVATE_KEY= | ||
|
||
# An EVM private to define a default EOA for EVM related kakarot_scripts | ||
STARKNET_SEPOLIA_EVM_PRIVATE_KEY= | ||
# This default value is Anvil first account private key | ||
KATANA_EVM_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
# Network | ||
STARKNET_NETWORK=katana | ||
|
||
# Set to python to use the python implementation of Protocol Buffers | ||
# Because cairo-land generated files used protobuf<=3.20 and web3.py uses protobuf ~4 | ||
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python | ||
|
||
# To override the default web3 provider uri http://localhost:8545, putting as default | ||
# the default Kakarot RPC URL of kakarot-rpc repo | ||
WEB3_HTTP_PROVIDER_URI="http://0.0.0.0:3030" | ||
|
||
# Hypothesis profile | ||
HYPOTHESIS_PROFILE=dev | ||
|
||
VOYAGER_API_URL= | ||
VOYAGER_API_KEY= | ||
|
||
# Private key to sign transactions for RLP scripts/compute_rlp_encoding.ts | ||
# Warning: Do not use this key in production systems | ||
PRIVATE_KEY_RLP_SCRIPT=0x6be0067ba259624aa28f796b703e7d095925a470b17786767bd09aaa3fc2ceea |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[codespell] | ||
ignore-words-list = keypair,astroid,uvloop,crate | ||
ignore-words-list = keypair,astroid,uvloop,crate,amountIn | ||
skip = '.git' | ||
check-filenames = | ||
check-hidden = |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Generic, formatter-friendly config. | ||
select = ["B", "D3", "D4", "E", "F"] | ||
select = ["B", "D3", "D4", "E", "F", "ARG"] | ||
|
||
# Never enforce `E501` (line length violations). This should be handled by formatters. | ||
ignore = ["E501"] |
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
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
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
Oops, something went wrong.