diff --git a/src/lib_new/stable_b_tree_map.ts b/src/lib_new/stable_b_tree_map.ts index 5583eaf250..eab2ef0b62 100644 --- a/src/lib_new/stable_b_tree_map.ts +++ b/src/lib_new/stable_b_tree_map.ts @@ -80,29 +80,18 @@ export function StableBTreeMap( key: TypeMapping, value: TypeMapping ): Opt> { - console.log('keyIdl'); - console.log(keyIdl); - console.log('valueIdl'); - console.log(valueIdl); - const candidEncodedMemoryId = new Uint8Array( IDL.encode([IDL.Nat8], [memoryId]) ).buffer; - console.log(0); - const candidEncodedKey = new Uint8Array( IDL.encode([keyIdl as any], [key]) ).buffer; - console.log(1); - const candidEncodedValue = new Uint8Array( IDL.encode([valueIdl as any], [value]) ).buffer; - console.log(2); - const candidEncodedResultValue = ( globalThis as any )._azleIc.stableBTreeMapInsert( @@ -111,8 +100,6 @@ export function StableBTreeMap( candidEncodedValue ); - console.log(3); - if (candidEncodedResultValue === undefined) { return []; } else {