Skip to content

Commit

Permalink
feat: Add sepolia to the chan_id module
Browse files Browse the repository at this point in the history
Add the `sepolia` chain ID to the `chain_id` module.
  • Loading branch information
jsdanielh committed Mar 25, 2024
1 parent d980869 commit 64b099f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions starknet-core/src/chain_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pub const TESTNET2: FieldElement = FieldElement::from_mont([
33650220878420990,
]);

pub const SEPOLIA: FieldElement = FieldElement::from_mont([
1555806712078248243,
18446744073708869172,
18446744073709551615,
507980251676163170,
]);

#[cfg(test)]
mod test {
use crate::utils::cairo_short_string_to_felt;
Expand All @@ -34,6 +41,7 @@ mod test {
("SN_MAIN", MAINNET),
("SN_GOERLI", TESTNET),
("SN_GOERLI2", TESTNET2),
("SN_SEPOLIA", SEPOLIA),
]
.into_iter()
{
Expand Down

0 comments on commit 64b099f

Please sign in to comment.