Skip to content
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

ci: karnot deployment #1484

Merged
merged 20 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 41 additions & 59 deletions deployments/karnot/deployment-config.yaml
Original file line number Diff line number Diff line change
@@ -1,70 +1,52 @@
environments:
- project: "Kakarot-Sepolia Starknet Staging"
id: 4912672c-533c-4198-9834-a8999c0b2db0
- project: "sepolia"
id: b429998b-67d1-4866-927e-bc0d432d59d7
repos:
kakarot-rpc:
image: ghcr.io/kkrt-labs/kakarot-rpc/node:v0.7.2
image: ghcr.io/kkrt-labs/kakarot-rpc/node:v0.7.5
config:
CONTRACT_ACCOUNT_CLASS_HASH: '0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9'
DEPLOYER_ACCOUNT_ADDRESS: '0x531befddbb36eb5632a96699ee83a1584e89d5405abc9bfbbf81ecc1f65679f'
DEPLOYER_ACCOUNT_PRIVATE_KEY: '0x0288a51c164874bb6a1ca7bd1cb71823c234a86d0f7b150d70fa8f06de645396'
EVM_PRIVATE_KEY: '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'
EXTERNALLY_OWNED_ACCOUNT_CLASS_HASH: '0x3c64a1702579c371fc47af9231b5537ba2bfbc82834890216dc0bc5688d1810'
KAKAROT_ADDRESS: '0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359'
MAX_FELTS_IN_CALLDATA: '30000'
PROXY_ACCOUNT_CLASS_HASH: '0x5bcd4d02cfe3aeb836f2ef4bd21b2020793e52a8269dbef9cd883fbddd2963c'
RELAYERS_ADDRESSES: '0x219c1e7585b134f94df1a7440676e1f64668cef6ae46cebacf8e12fdb7d1ed7,0x1bc0a910803c09dc59d87d3e414c179c0fb70fca556443b694a33e06f1cb836,0x4756b97b36ff56781960e37f9725e91d4e7f10eabd538a963a16cd718a5b2ac,0x3ad2e0550210d3905881c5eb02b2dc58a4bf9145b286b020e889b76e5d15cc9,0x6f8e544a82e59227712682988d4bbba180f919afae5395bb27c088cba31aac3,0x61e109bf9e9db553c12abfe4b1d4974b71df9b5f999f80731ceb9a8d397b0eb,0x4a0ee234a5a11c942a235b34a2ef09edd61a3ba5803a64455037c430647c901,0x28e72aea13153bad9dcc71be7ad3f4e7bf769fbcbc59d39cd991783c06f126d,0x5407d8d28c43c10bdb7193b2c1553ab881ca77eb2ebc24c1ab02e848455dd99,0x62daa696aa71e97169763fb92729e2ce37a9794da4076e005acf82de6b02449,0x7116732a2ca8f5423581de26a8b316b95f2fa3043e5ac969d556dc511eaf09f,0x72f5988d56d43ddff00e59bdd8298f4c429131b5362e96ed8a12262a3a1d119,0x3c68d3a57ed0e256bc8373318b92c3764d3a460580af0ce66668f0a3f5e0ffc,0x1ed83bb61c70e198ab2a835a9a7657fb7c2c5dded4e9b4de83e4f106e0d07be,0xfd54568b763ffc311f2d058d92053dd707ca8f6d7eadefed9e3f0ad689059c,0x8d57e878e1f12b875d7b4008c15e3fed3323864d7c77966a50f6fb71496314,0x79ebdd91403cea8fc4fb7c53d7a69caea33c2fc0f171a871f8bc8ed38b73a29,0x55fe9ac4db519377c1e1d6331e6a45e3a5ce75bfae7447677be6828c2130317,0x5e5a9efc076bad92061124207e9176b36740c2539c40089fde11e4d07cc90d0,0x43a8ce7a0cb8b714e1c74d19f7b5b0a43f534edc1f7dd3e455fe7eacfa2b181,0x569c7a1ff7e5ac7e18b991ce0b78a97ee7da4710367a293625d4102be782e29,0x58a5b0e3da6eaea2860c200b6977fb08e06a051f2bbc9145d84727f04fe1ab5,0x5746bdc6296ba15a9664afa01062b9ad06f1ff31ac3b70b92eb6f875e618fcb,0x86bb9ec8022d3cc567d07ea2123778a045468c63d87dfdc0c568d20648c5f5,0x30be9c4b8032950f72f14c1b3b77121572be042ddecdf73d97e50682158777a,0x4a24cf6a552591dde0f654c15c42227dbdb66d7634aee144703c61d1b519268,0x595e3ee91ac131371399044b603b5909f33d44bdf72748e5233f6394098f5ba,0xe76bd52863c4d15f8fc4b1e3c51f1ed6c0a29254f5912b2dcfab8752d32f11,0x4806466971baa2a234e49409340ee1c0a703a7865176c01dea458ae0d6a8b06,0x3a427aca2f11e22ef583e131013a81a37054df72ee48dded88c3f1a83463c16'
UNINITIALIZED_ACCOUNT_CLASS_HASH: '0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6'
WHITE_LISTED_EIP_155_TRANSACTION_HASHES: '0xeddf9e61fb9d8f5111840daef55e5fde0041f5702856532cdbb5a02998033d26,0x07471adfe8f4ec553c1199f495be97fc8be8e0626ae307281c22534460184ed1,0xb6274b80bc7cda162df89894c7748a5cb7ba2eaa6004183c41a1837c3b072f1e'
MAX_LOGS: '10000'
RETRY_TX_INTERVAL: '5'

KAKAROT_ADDRESS: "0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359"
UNINITIALIZED_ACCOUNT_CLASS_HASH: "0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6"
RELAYERS_ADDRESSES: "0x219c1e7585b134f94df1a7440676e1f64668cef6ae46cebacf8e12fdb7d1ed7,0x1bc0a910803c09dc59d87d3e414c179c0fb70fca556443b694a33e06f1cb836,0x4756b97b36ff56781960e37f9725e91d4e7f10eabd538a963a16cd718a5b2ac,0x3ad2e0550210d3905881c5eb02b2dc58a4bf9145b286b020e889b76e5d15cc9,0x6f8e544a82e59227712682988d4bbba180f919afae5395bb27c088cba31aac3,0x61e109bf9e9db553c12abfe4b1d4974b71df9b5f999f80731ceb9a8d397b0eb,0x4a0ee234a5a11c942a235b34a2ef09edd61a3ba5803a64455037c430647c901,0x28e72aea13153bad9dcc71be7ad3f4e7bf769fbcbc59d39cd991783c06f126d,0x5407d8d28c43c10bdb7193b2c1553ab881ca77eb2ebc24c1ab02e848455dd99,0x62daa696aa71e97169763fb92729e2ce37a9794da4076e005acf82de6b02449,0x7116732a2ca8f5423581de26a8b316b95f2fa3043e5ac969d556dc511eaf09f,0x72f5988d56d43ddff00e59bdd8298f4c429131b5362e96ed8a12262a3a1d119,0x3c68d3a57ed0e256bc8373318b92c3764d3a460580af0ce66668f0a3f5e0ffc,0x1ed83bb61c70e198ab2a835a9a7657fb7c2c5dded4e9b4de83e4f106e0d07be,0xfd54568b763ffc311f2d058d92053dd707ca8f6d7eadefed9e3f0ad689059c,0x8d57e878e1f12b875d7b4008c15e3fed3323864d7c77966a50f6fb71496314,0x79ebdd91403cea8fc4fb7c53d7a69caea33c2fc0f171a871f8bc8ed38b73a29,0x55fe9ac4db519377c1e1d6331e6a45e3a5ce75bfae7447677be6828c2130317,0x5e5a9efc076bad92061124207e9176b36740c2539c40089fde11e4d07cc90d0,0x43a8ce7a0cb8b714e1c74d19f7b5b0a43f534edc1f7dd3e455fe7eacfa2b181,0x569c7a1ff7e5ac7e18b991ce0b78a97ee7da4710367a293625d4102be782e29,0x58a5b0e3da6eaea2860c200b6977fb08e06a051f2bbc9145d84727f04fe1ab5,0x5746bdc6296ba15a9664afa01062b9ad06f1ff31ac3b70b92eb6f875e618fcb,0x86bb9ec8022d3cc567d07ea2123778a045468c63d87dfdc0c568d20648c5f5,0x30be9c4b8032950f72f14c1b3b77121572be042ddecdf73d97e50682158777a,0x4a24cf6a552591dde0f654c15c42227dbdb66d7634aee144703c61d1b519268,0x595e3ee91ac131371399044b603b5909f33d44bdf72748e5233f6394098f5ba,0xe76bd52863c4d15f8fc4b1e3c51f1ed6c0a29254f5912b2dcfab8752d32f11,0x4806466971baa2a234e49409340ee1c0a703a7865176c01dea458ae0d6a8b06,0x3a427aca2f11e22ef583e131013a81a37054df72ee48dded88c3f1a83463c16"
Eikix marked this conversation as resolved.
Show resolved Hide resolved
WHITE_LISTED_EIP_155_TRANSACTION_HASHES: "0xeddf9e61fb9d8f5111840daef55e5fde0041f5702856532cdbb5a02998033d26,0x07471adfe8f4ec553c1199f495be97fc8be8e0626ae307281c22534460184ed1,0xb6274b80bc7cda162df89894c7748a5cb7ba2eaa6004183c41a1837c3b072f1e"
RUST_LOG: "info"
MAX_LOGS: "10000"
RPC_MAX_CONNECTIONS: "5000"
kakarot-indexer:
image: ghcr.io/kkrt-labs/kakarot-rpc/indexer:v0.7.1-alpha1
image: ghcr.io/kkrt-labs/kakarot-rpc/indexer:v0.7.5
config:
ACCOUNT_CONTRACT_CLASS_HASH: '0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9'
ALLOW_ENV_FROM_ENV: 'DEBUG,APIBARA_AUTH_TOKEN,STARTING_BLOCK,STREAM_URL,SINK_TYPE,MONGO_CONNECTION_STRING,MONGO_DATABASE_NAME,STARKNET_NETWORK,KAKAROT_ADDRESS,ALLOW_NET,PERSIST_TO_REDIS,SINK_ID,UNINITIALIZED_ACCOUNT_CLASS_HASH,ACCOUNT_CONTRACT_CLASS_HASH,DEFAULT_BLOCK_GAS_LIMIT,MAX_FELTS_IN_CALLDATA'
ALLOW_NET: ''
APIBARA_AUTH_TOKEN: ''
DEBUG: ''
DEFAULT_BLOCK_GAS_LIMIT: '7000000'
KAKAROT_ADDRESS: '0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359'
MAX_FELTS_IN_CALLDATA: '22500'
MONGO_REPLACE_DATA_INSIDE_TRANSACTION: 'true'
STARTING_BLOCK: '0'
UNINITIALIZED_ACCOUNT_CLASS_HASH: '0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6'
- project: "Kakarot Sepolia Starknet"
id: b429998b-67d1-4866-927e-bc0d432d59d7
KAKAROT_ADDRESS: "0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359"
ALLOW_ENV_FROM_ENV: "DEBUG,APIBARA_AUTH_TOKEN,STARTING_BLOCK,STREAM_URL,SINK_TYPE,MONGO_CONNECTION_STRING,MONGO_DATABASE_NAME,STARKNET_NETWORK,KAKAROT_ADDRESS,ALLOW_NET,PERSIST_TO_REDIS,SINK_ID,UNINITIALIZED_ACCOUNT_CLASS_HASH,ACCOUNT_CONTRACT_CLASS_HASH,DEFAULT_BLOCK_GAS_LIMIT,MAX_FELTS_IN_CALLDATA"
ALLOW_NET: ""
APIBARA_AUTH_TOKEN: ""
DEBUG: ""
DEFAULT_BLOCK_GAS_LIMIT: "7000000"
MAX_FELTS_IN_CALLDATA: "22500"
MONGO_REPLACE_DATA_INSIDE_TRANSACTION: "true"
STARTING_BLOCK: "0"

- project: "staging"
id: 4912672c-533c-4198-9834-a8999c0b2db0
repos:
kakarot-rpc:
image: ghcr.io/kkrt-labs/kakarot-rpc/node:v0.7.2
image: ghcr.io/kkrt-labs/kakarot-rpc/node:v0.7.5
config:
CONTRACT_ACCOUNT_CLASS_HASH: '0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9'
DEPLOYER_ACCOUNT_ADDRESS: '0x531befddbb36eb5632a96699ee83a1584e89d5405abc9bfbbf81ecc1f65679f'
DEPLOYER_ACCOUNT_PRIVATE_KEY: '0x0288a51c164874bb6a1ca7bd1cb71823c234a86d0f7b150d70fa8f06de645396'
EVM_PRIVATE_KEY: '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'
EXTERNALLY_OWNED_ACCOUNT_CLASS_HASH: '0x3c64a1702579c371fc47af9231b5537ba2bfbc82834890216dc0bc5688d1810'
KAKAROT_ADDRESS: '0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359'
MAX_FELTS_IN_CALLDATA: '30000'
PROXY_ACCOUNT_CLASS_HASH: '0x5bcd4d02cfe3aeb836f2ef4bd21b2020793e52a8269dbef9cd883fbddd2963c'
RELAYERS_ADDRESSES: '0x219c1e7585b134f94df1a7440676e1f64668cef6ae46cebacf8e12fdb7d1ed7,0x1bc0a910803c09dc59d87d3e414c179c0fb70fca556443b694a33e06f1cb836,0x4756b97b36ff56781960e37f9725e91d4e7f10eabd538a963a16cd718a5b2ac,0x3ad2e0550210d3905881c5eb02b2dc58a4bf9145b286b020e889b76e5d15cc9,0x6f8e544a82e59227712682988d4bbba180f919afae5395bb27c088cba31aac3,0x61e109bf9e9db553c12abfe4b1d4974b71df9b5f999f80731ceb9a8d397b0eb,0x4a0ee234a5a11c942a235b34a2ef09edd61a3ba5803a64455037c430647c901,0x28e72aea13153bad9dcc71be7ad3f4e7bf769fbcbc59d39cd991783c06f126d,0x5407d8d28c43c10bdb7193b2c1553ab881ca77eb2ebc24c1ab02e848455dd99,0x62daa696aa71e97169763fb92729e2ce37a9794da4076e005acf82de6b02449,0x7116732a2ca8f5423581de26a8b316b95f2fa3043e5ac969d556dc511eaf09f,0x72f5988d56d43ddff00e59bdd8298f4c429131b5362e96ed8a12262a3a1d119,0x3c68d3a57ed0e256bc8373318b92c3764d3a460580af0ce66668f0a3f5e0ffc,0x1ed83bb61c70e198ab2a835a9a7657fb7c2c5dded4e9b4de83e4f106e0d07be,0xfd54568b763ffc311f2d058d92053dd707ca8f6d7eadefed9e3f0ad689059c,0x8d57e878e1f12b875d7b4008c15e3fed3323864d7c77966a50f6fb71496314,0x79ebdd91403cea8fc4fb7c53d7a69caea33c2fc0f171a871f8bc8ed38b73a29,0x55fe9ac4db519377c1e1d6331e6a45e3a5ce75bfae7447677be6828c2130317,0x5e5a9efc076bad92061124207e9176b36740c2539c40089fde11e4d07cc90d0,0x43a8ce7a0cb8b714e1c74d19f7b5b0a43f534edc1f7dd3e455fe7eacfa2b181,0x569c7a1ff7e5ac7e18b991ce0b78a97ee7da4710367a293625d4102be782e29,0x58a5b0e3da6eaea2860c200b6977fb08e06a051f2bbc9145d84727f04fe1ab5,0x5746bdc6296ba15a9664afa01062b9ad06f1ff31ac3b70b92eb6f875e618fcb,0x86bb9ec8022d3cc567d07ea2123778a045468c63d87dfdc0c568d20648c5f5,0x30be9c4b8032950f72f14c1b3b77121572be042ddecdf73d97e50682158777a,0x4a24cf6a552591dde0f654c15c42227dbdb66d7634aee144703c61d1b519268,0x595e3ee91ac131371399044b603b5909f33d44bdf72748e5233f6394098f5ba,0xe76bd52863c4d15f8fc4b1e3c51f1ed6c0a29254f5912b2dcfab8752d32f11,0x4806466971baa2a234e49409340ee1c0a703a7865176c01dea458ae0d6a8b06,0x3a427aca2f11e22ef583e131013a81a37054df72ee48dded88c3f1a83463c16'
UNINITIALIZED_ACCOUNT_CLASS_HASH: '0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6'
WHITE_LISTED_EIP_155_TRANSACTION_HASHES: '0xeddf9e61fb9d8f5111840daef55e5fde0041f5702856532cdbb5a02998033d26,0x07471adfe8f4ec553c1199f495be97fc8be8e0626ae307281c22534460184ed1,0xb6274b80bc7cda162df89894c7748a5cb7ba2eaa6004183c41a1837c3b072f1e'
MAX_LOGS: '10000'
RETRY_TX_INTERVAL: '5'


KAKAROT_ADDRESS: "0x48fc2888aad166304e63af35a48e00e32da9831e49fe30a22148fdecdb7e66f"
UNINITIALIZED_ACCOUNT_CLASS_HASH: "0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6"
RELAYERS_ADDRESSES: "0xff887caabf4c6d059cb674de16c3daef88e35256fb495201281f2315b1aae9,0x2a41b958300263d7eed9413753b7677d0ec158d188cd7c228388f8f6e39d14d,0x4d71f14cc7ec7f655aba12518d8481edc6ab6ce1e407ea3d095834d23437527,0x1ac126d84cc0ae4322af23c482c2c729d75333c44572180275f762c796e40ec,0x11413ce88b400a47b0d2a79de878a02a3deabc58900add358859447ddaffe70,0x255d90c70da26246972b7b4d4e75357075785e4cf9ec2077f4e829c80b7b5e8,0x63a049efd07342c6c2832a357820d47d1083b63382f5c3eeeac091085760119,0x1c790adf6e0ac5aa508a975be0b076949a016ce349502d9d253912e29a59600,0x71b5ba9299c9cbeb8fddb886857fdd05360140a220279ab83d2484af87388c7,0x62ab3080b8e201b80d767588325b4065d4269a79ac20e6ff7021337845917ce"
WHITE_LISTED_EIP_155_TRANSACTION_HASHES: "0xeddf9e61fb9d8f5111840daef55e5fde0041f5702856532cdbb5a02998033d26,0x07471adfe8f4ec553c1199f495be97fc8be8e0626ae307281c22534460184ed1,0xb6274b80bc7cda162df89894c7748a5cb7ba2eaa6004183c41a1837c3b072f1e"
RUST_LOG: "info"
MAX_LOGS: "10000"
RPC_MAX_CONNECTIONS: "5000"
kakarot-indexer:
image: ghcr.io/kkrt-labs/kakarot-rpc/indexer:v0.6.21-alpha2
image: ghcr.io/kkrt-labs/kakarot-rpc/indexer:v0.7.5
config:
ACCOUNT_CONTRACT_CLASS_HASH: '0x25d4b4889979f3df8171991f6a0163b42b756daebf313bcd0dec74cacf903f9'
ALLOW_ENV_FROM_ENV: 'DEBUG,APIBARA_AUTH_TOKEN,STARTING_BLOCK,STREAM_URL,SINK_TYPE,MONGO_CONNECTION_STRING,MONGO_DATABASE_NAME,STARKNET_NETWORK,KAKAROT_ADDRESS,ALLOW_NET,PERSIST_TO_REDIS,SINK_ID,UNINITIALIZED_ACCOUNT_CLASS_HASH,ACCOUNT_CONTRACT_CLASS_HASH,DEFAULT_BLOCK_GAS_LIMIT,MAX_FELTS_IN_CALLDATA'
ALLOW_NET: ''
APIBARA_AUTH_TOKEN: ''
DEBUG: ''
DEFAULT_BLOCK_GAS_LIMIT: '7000000'
KAKAROT_ADDRESS: '0x1d2e513630d8120666fc6e7d52ad0c01479fd99c183baac79fff9135f46e359'
MAX_FELTS_IN_CALLDATA: '22500'
MONGO_REPLACE_DATA_INSIDE_TRANSACTION: 'true'
STARTING_BLOCK: '0'
UNINITIALIZED_ACCOUNT_CLASS_HASH: '0x7b2de5e73ff7eb338d76c967dd5aa3f3004574d326b8c1402bb819d4983b8b6'
KAKAROT_ADDRESS: "0x48fc2888aad166304e63af35a48e00e32da9831e49fe30a22148fdecdb7e66f"
ALLOW_ENV_FROM_ENV: "DEBUG,APIBARA_AUTH_TOKEN,STARTING_BLOCK,STREAM_URL,SINK_TYPE,MONGO_CONNECTION_STRING,MONGO_DATABASE_NAME,STARKNET_NETWORK,KAKAROT_ADDRESS,ALLOW_NET,PERSIST_TO_REDIS,SINK_ID,UNINITIALIZED_ACCOUNT_CLASS_HASH,ACCOUNT_CONTRACT_CLASS_HASH,DEFAULT_BLOCK_GAS_LIMIT,MAX_FELTS_IN_CALLDATA"
ALLOW_NET: ""
APIBARA_AUTH_TOKEN: ""
DEBUG: ""
DEFAULT_BLOCK_GAS_LIMIT: "7000000"
MAX_FELTS_IN_CALLDATA: "22500"
MONGO_REPLACE_DATA_INSIDE_TRANSACTION: "true"
STARTING_BLOCK: "0"
Binary file modified docker/hive/docs/hive_strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading