Skip to content

Commit

Permalink
HACK: Try redefine ETH_CONTRACT_ADDRESS to avoid lint issue (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Sep 10, 2024
1 parent 9f49604 commit 068a5d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/account_sdk/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::account::session::hash::{AllowedMethod, Session};
use crate::account::session::SessionAccount;
use crate::account::AccountHashAndCallsSigner;
use crate::account::SpecificAccount;
use crate::constants::{ACCOUNT_CLASS_HASH, ETH_CONTRACT_ADDRESS};
use crate::constants::ACCOUNT_CLASS_HASH;
use crate::factory::ControllerFactory;
use crate::hash::MessageHashRev1;
use crate::paymaster::PaymasterError;
Expand Down Expand Up @@ -35,6 +35,8 @@ use starknet::{
signers::{SigningKey, VerifyingKey},
};

const ETH_CONTRACT_ADDRESS: Felt =
felt!("0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7");
const WEBAUTHN_GAS: Felt = felt!("3300");

pub trait Backend: StorageBackend + OriginProvider {}
Expand Down

0 comments on commit 068a5d5

Please sign in to comment.