@aztec/pxe 4.2.0-nightly.20260410 → 4.2.0-nightly.20260412

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,4 +3,4 @@ import type { ContractStore } from '../storage/contract_store/contract_store.js'
3
3
  export declare class ProxiedContractStoreFactory {
4
4
  static create(contractStore: ContractStore, overrides?: ContractOverrides): ContractStore;
5
5
  }
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJveGllZF9jb250cmFjdF9kYXRhX3NvdXJjZS5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnRyYWN0X2Z1bmN0aW9uX3NpbXVsYXRvci9wcm94aWVkX2NvbnRyYWN0X2RhdGFfc291cmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sS0FBSyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFMUQsT0FBTyxLQUFLLEVBQUUsYUFBYSxFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFPakYscUJBQWEsMkJBQTJCO0lBQ3RDLE1BQU0sQ0FBQyxNQUFNLENBQUMsYUFBYSxFQUFFLGFBQWEsRUFBRSxTQUFTLENBQUMsRUFBRSxpQkFBaUIsaUJBcUV4RTtDQUNGIn0=
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJveGllZF9jb250cmFjdF9kYXRhX3NvdXJjZS5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbnRyYWN0X2Z1bmN0aW9uX3NpbXVsYXRvci9wcm94aWVkX2NvbnRyYWN0X2RhdGFfc291cmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sS0FBSyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFMUQsT0FBTyxLQUFLLEVBQUUsYUFBYSxFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFPakYscUJBQWEsMkJBQTJCO0lBQ3RDLE1BQU0sQ0FBQyxNQUFNLENBQUMsYUFBYSxFQUFFLGFBQWEsRUFBRSxTQUFTLENBQUMsRUFBRSxpQkFBaUIsaUJBNEV4RTtDQUNGIn0=
@@ -1 +1 @@
1
- {"version":3,"file":"proxied_contract_data_source.d.ts","sourceRoot":"","sources":["../../src/contract_function_simulator/proxied_contract_data_source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAOjF,qBAAa,2BAA2B;IACtC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,iBAAiB,iBAqExE;CACF"}
1
+ {"version":3,"file":"proxied_contract_data_source.d.ts","sourceRoot":"","sources":["../../src/contract_function_simulator/proxied_contract_data_source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAOjF,qBAAa,2BAA2B;IACtC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,iBAAiB,iBA4ExE;CACF"}
@@ -23,6 +23,7 @@ import { FunctionSelector } from '@aztec/stdlib/abi';
23
23
  }
24
24
  instance.currentContractClassId = realInstance.currentContractClassId;
25
25
  instance.originalContractClassId = realInstance.originalContractClassId;
26
+ instance.initializationHash = realInstance.initializationHash;
26
27
  return instance;
27
28
  } else {
28
29
  return target.getContractInstance(address);
@@ -42,6 +43,7 @@ import { FunctionSelector } from '@aztec/stdlib/abi';
42
43
  return fn;
43
44
  }
44
45
  }
46
+ throw new Error(`Function with selector ${selector} not found in stub artifact for overridden contract at ${contractAddress}. The stub does not implement this function.`);
45
47
  } else {
46
48
  return target.getFunctionArtifact(contractAddress, selector);
47
49
  }
@@ -60,6 +62,7 @@ import { FunctionSelector } from '@aztec/stdlib/abi';
60
62
  return fn;
61
63
  }
62
64
  }
65
+ throw new Error(`Function with selector ${selector} not found in stub artifact for overridden contract at ${contractAddress}. The stub does not implement this function.`);
63
66
  } else {
64
67
  return target.getFunctionArtifactWithDebugMetadata(contractAddress, selector);
65
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/pxe",
3
- "version": "4.2.0-nightly.20260410",
3
+ "version": "4.2.0-nightly.20260412",
4
4
  "type": "module",
5
5
  "typedocOptions": {
6
6
  "entryPoints": [
@@ -70,19 +70,19 @@
70
70
  ]
71
71
  },
72
72
  "dependencies": {
73
- "@aztec/bb-prover": "4.2.0-nightly.20260410",
74
- "@aztec/bb.js": "4.2.0-nightly.20260410",
75
- "@aztec/builder": "4.2.0-nightly.20260410",
76
- "@aztec/constants": "4.2.0-nightly.20260410",
77
- "@aztec/ethereum": "4.2.0-nightly.20260410",
78
- "@aztec/foundation": "4.2.0-nightly.20260410",
79
- "@aztec/key-store": "4.2.0-nightly.20260410",
80
- "@aztec/kv-store": "4.2.0-nightly.20260410",
81
- "@aztec/noir-protocol-circuits-types": "4.2.0-nightly.20260410",
82
- "@aztec/noir-types": "4.2.0-nightly.20260410",
83
- "@aztec/protocol-contracts": "4.2.0-nightly.20260410",
84
- "@aztec/simulator": "4.2.0-nightly.20260410",
85
- "@aztec/stdlib": "4.2.0-nightly.20260410",
73
+ "@aztec/bb-prover": "4.2.0-nightly.20260412",
74
+ "@aztec/bb.js": "4.2.0-nightly.20260412",
75
+ "@aztec/builder": "4.2.0-nightly.20260412",
76
+ "@aztec/constants": "4.2.0-nightly.20260412",
77
+ "@aztec/ethereum": "4.2.0-nightly.20260412",
78
+ "@aztec/foundation": "4.2.0-nightly.20260412",
79
+ "@aztec/key-store": "4.2.0-nightly.20260412",
80
+ "@aztec/kv-store": "4.2.0-nightly.20260412",
81
+ "@aztec/noir-protocol-circuits-types": "4.2.0-nightly.20260412",
82
+ "@aztec/noir-types": "4.2.0-nightly.20260412",
83
+ "@aztec/protocol-contracts": "4.2.0-nightly.20260412",
84
+ "@aztec/simulator": "4.2.0-nightly.20260412",
85
+ "@aztec/stdlib": "4.2.0-nightly.20260412",
86
86
  "koa": "^2.16.1",
87
87
  "koa-router": "^13.1.1",
88
88
  "lodash.omit": "^4.5.0",
@@ -91,8 +91,8 @@
91
91
  "viem": "npm:@aztec/viem@2.38.2"
92
92
  },
93
93
  "devDependencies": {
94
- "@aztec/merkle-tree": "4.2.0-nightly.20260410",
95
- "@aztec/noir-test-contracts.js": "4.2.0-nightly.20260410",
94
+ "@aztec/merkle-tree": "4.2.0-nightly.20260412",
95
+ "@aztec/noir-test-contracts.js": "4.2.0-nightly.20260412",
96
96
  "@jest/globals": "^30.0.0",
97
97
  "@types/jest": "^30.0.0",
98
98
  "@types/lodash.omit": "^4.5.7",
@@ -29,6 +29,7 @@ export class ProxiedContractStoreFactory {
29
29
  }
30
30
  instance.currentContractClassId = realInstance.currentContractClassId;
31
31
  instance.originalContractClassId = realInstance.originalContractClassId;
32
+ instance.initializationHash = realInstance.initializationHash;
32
33
  return instance;
33
34
  } else {
34
35
  return target.getContractInstance(address);
@@ -47,6 +48,9 @@ export class ProxiedContractStoreFactory {
47
48
  return fn;
48
49
  }
49
50
  }
51
+ throw new Error(
52
+ `Function with selector ${selector} not found in stub artifact for overridden contract at ${contractAddress}. The stub does not implement this function.`,
53
+ );
50
54
  } else {
51
55
  return target.getFunctionArtifact(contractAddress, selector);
52
56
  }
@@ -64,6 +68,9 @@ export class ProxiedContractStoreFactory {
64
68
  return fn;
65
69
  }
66
70
  }
71
+ throw new Error(
72
+ `Function with selector ${selector} not found in stub artifact for overridden contract at ${contractAddress}. The stub does not implement this function.`,
73
+ );
67
74
  } else {
68
75
  return target.getFunctionArtifactWithDebugMetadata(contractAddress, selector);
69
76
  }
@@ -78,6 +85,6 @@ export class ProxiedContractStoreFactory {
78
85
  }
79
86
  }
80
87
  },
81
- });
88
+ }) satisfies ContractStore;
82
89
  }
83
90
  }