Skip to content

Commit

Permalink
Nullable topOrigin (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
broody authored Aug 15, 2024
1 parent de2bee0 commit a9755fb
Show file tree
Hide file tree
Showing 11 changed files with 18,723 additions and 18,465 deletions.
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/keep-starknet-strange/alexa
alexandria_data_structures = { git = "https://github.com/keep-starknet-strange/alexandria.git", tag = "cairo-v2.6.0" }
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.20.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.12.0" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", branch = "main" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", rev = "f6796ba" }
44 changes: 22 additions & 22 deletions packages/account-wasm/pkg/account_wasm_bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ function getInt32Memory0() {
return cachedInt32Memory0;
}

const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;

let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });

cachedTextDecoder.decode();

function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}

function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
Expand All @@ -122,17 +133,6 @@ function getFloat64Memory0() {
return cachedFloat64Memory0;
}

const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;

let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });

cachedTextDecoder.decode();

function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}

let cachedBigInt64Memory0 = null;

function getBigInt64Memory0() {
Expand Down Expand Up @@ -489,11 +489,21 @@ export function __wbindgen_string_get(arg0, arg1) {
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};

export function __wbindgen_string_new(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};

export function __wbindgen_object_clone_ref(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};

export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};

export function __wbindgen_is_undefined(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
Expand Down Expand Up @@ -543,16 +553,6 @@ export function __wbindgen_bigint_from_u64(arg0) {
return addHeapObject(ret);
};

export function __wbindgen_string_new(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};

export function __wbindgen_error_new(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};

export function __wbindgen_jsval_loose_eq(arg0, arg1) {
const ret = getObject(arg0) == getObject(arg1);
return ret;
Expand Down Expand Up @@ -1042,7 +1042,7 @@ export function __wbindgen_memory() {
return addHeapObject(ret);
};

export function __wbindgen_closure_wrapper2278(arg0, arg1, arg2) {
export function __wbindgen_closure_wrapper2279(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 490, __wbg_adapter_48);
return addHeapObject(ret);
};
Expand Down
Binary file modified packages/account-wasm/pkg/account_wasm_bg.wasm
Binary file not shown.

Large diffs are not rendered by default.

Loading

0 comments on commit a9755fb

Please sign in to comment.