Skip to content

Commit

Permalink
Update nonce channels to use masks (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Oct 21, 2024
1 parent f98bdb2 commit b64d007
Show file tree
Hide file tree
Showing 16 changed files with 19,634 additions and 19,372 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ webauthn-authenticator-rs = { git = "https://github.com/cartridge-gg/webauthn-rs
"softpasskey",
] }

cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.2", features = [
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.4.5", features = [
"abigen-rs",
] }

Expand Down
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ alexandria_merkle_tree = { git = "https://github.com/piniom/quaireaux.git", rev
alexandria_data_structures = { git = "https://github.com/piniom/quaireaux.git", rev = "b51ccc3" }
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.27.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", rev = "a13bae3" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", rev = "946530f" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", rev = "1bb7404" }
2 changes: 1 addition & 1 deletion packages/account-wasm/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl CartridgeAccount {

#[wasm_bindgen(js_name = executeFromOutside)]
pub async fn execute_from_outside(
&self,
&mut self,
calls: Vec<JsCall>,
) -> std::result::Result<JsValue, JsControllerError> {
set_panic_hook();
Expand Down
2 changes: 1 addition & 1 deletion packages/account-wasm/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl CartridgeSessionAccount {
execute_after: 0_u64,
execute_before: now + 600,
calls,
nonce: (SigningKey::from_random().secret_scalar(), Felt::ZERO),
nonce: (SigningKey::from_random().secret_scalar(), 1),
};

let signed = self
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit b64d007

Please sign in to comment.