-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Labels
T-bugType: Bug. Something is broken.Type: Bug. Something is broken.from-communityThis originated from the community :)This originated from the community :)
Description
What are you trying to do?
I cant seem to be able to deploy any contracts right now on the new devnet
Code Reference
This is how i tried to deploy
import { TestWallet } from "@aztec/test-wallet/server";
import { createAztecNodeClient } from "@aztec/aztec.js/node";
import { getInitialTestAccountsData } from "@aztec/accounts/testing";
import { CounterContract } from "./src/artifacts/Counter";
const NODE_URL = "https://next.devnet.aztec-labs.com"
const node = createAztecNodeClient(NODE_URL);
const wallet = await TestWallet.create(node);
const [alice] = await getInitialTestAccountsData();
await wallet.createSchnorrAccount(alice.secret, alice.salt);
await CounterContract.deploy(wallet).send({from:alice.address}).deployed()This is from deploy.ts in this repo where you can also reproduce the bug:
https://github.com/jimjimvalkema/counter/tree/aaf93b04083acd1d87e75b32c3e33e16ca4cd87b
The Error:
jimjim@jimjim:~/Desktop/counter$ yarn bun deploy.ts;
yarn run v1.22.22
warning package.json: No license field
$ /home/jimjim/Desktop/counter/node_modules/.bin/bun deploy.ts
[21:08:17.905] INFO: pxe:data:lmdb Starting data store with maxReaders 16
[21:08:18.368] INFO: pxe:service Started PXE connected to chain 11155111 version 1647720761
[21:08:18.915] INFO: pxe:service Added contract SchnorrAccount at 0x0c28d3544b8c71648627c230b8e10ff7bdafb364957867473dbcf3c4f483b064 with class 0x045ceef8cb0a93103c0e60b83b9fdfb01e869fc6425ed690c8b5679dc06403f1
[21:08:18.931] INFO: pxe:service Registered account 0x0c28d3544b8c71648627c230b8e10ff7bdafb364957867473dbcf3c4f483b064
{
feeJuice: 10000000000000000000000n,
}
[21:08:19.253] WARN: pxe:service No artifact found for contract class 0x04fa110092a259d175f1e39c2b0ae4b3f353da72623f217b793a2b3d808f0107 when looking for its metadata
[21:08:19.400] INFO: aztecjs:contract_interaction Creating request for publishing contract class 0x04fa110092a259d175f1e39c2b0ae4b3f353da72623f217b793a2b3d808f0107 as part of deployment for 0x148815762f17910189b41e768f9aa640b5229c0048ac6249df91b73290dd5a38
[21:08:20.818] INFO: pxe:service Added contract Counter at 0x148815762f17910189b41e768f9aa640b5229c0048ac6249df91b73290dd5a38 with class 0x04fa110092a259d175f1e39c2b0ae4b3f353da72623f217b793a2b3d808f0107
49 | if (cause.noirCallStack) {
50 | noirCallStack = cause.noirCallStack;
51 | }
52 | }
53 | });
54 | return new SimulationError(rootCause.message, aztecCallStack, revertData, noirCallStack, {
^
error: Assertion failed: Failed to get a note 'self.is_some()'
Context:
TxExecutionRequest(0x0c28d3544b8c71648627c230b8e10ff7bdafb364957867473dbcf3c4f483b064 called 0x9d57a239)
undefined
originalMessage: "Assertion failed: Failed to get a note",
functionErrorStack: [
[Object ...]
],
revertData: [],
noirErrorStack: [
[Object ...], [Object ...], [Object ...], [Object ...], [Object ...], [Object ...], [Object ...]
],
aztecContext: "\nContext:\nTxExecutionRequest(0x0c28d3544b8c71648627c230b8e10ff7bdafb364957867473dbcf3c4f483b064 called 0x9d57a239)\nundefined",
at /home/jimjim/Desktop/counter/node_modules/@aztec/simulator/dest/common/errors.js:54:16
552 | const ret = arg0.call(arg1, arg2, arg3);
553 | return ret;
554 | }, arguments) };
555 |
556 | module.exports.__wbg_constructor_c63bcfd244db473f = function(arg0) {
557 | const ret = new Error(arg0);
^
error: Assertion failed: Failed to get a note
callStack: [
"131.11", "131.275"
],
rawAssertionPayload: {
selector: "1593488985137207553",
data: [
"0000000000000000000000000000000000000000000000000000000000000046", "0000000000000000000000000000000000000000000000000000000000000061",
"0000000000000000000000000000000000000000000000000000000000000069", "000000000000000000000000000000000000000000000000000000000000006c",
"0000000000000000000000000000000000000000000000000000000000000065", "0000000000000000000000000000000000000000000000000000000000000064",
"0000000000000000000000000000000000000000000000000000000000000020", "0000000000000000000000000000000000000000000000000000000000000074",
"000000000000000000000000000000000000000000000000000000000000006f", "0000000000000000000000000000000000000000000000000000000000000020",
"0000000000000000000000000000000000000000000000000000000000000067", "0000000000000000000000000000000000000000000000000000000000000065",
"0000000000000000000000000000000000000000000000000000000000000074", "0000000000000000000000000000000000000000000000000000000000000020",
"0000000000000000000000000000000000000000000000000000000000000061", "0000000000000000000000000000000000000000000000000000000000000020",
"000000000000000000000000000000000000000000000000000000000000006e", "000000000000000000000000000000000000000000000000000000000000006f",
"0000000000000000000000000000000000000000000000000000000000000074", "0000000000000000000000000000000000000000000000000000000000000065",
"0000000000000000000000000000000000000000000000000000000000000000"
],
},
acirFunctionId: 0,
brilligFunctionId: 3,
at /home/jimjim/Desktop/counter/node_modules/@aztec/noir-acvm_js/nodejs/acvm_js.js:557:21
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at __wbg_adapter_30 (/home/jimjim/Desktop/counter/node_modules/@aztec/noir-acvm_js/nodejs/acvm_js.js:883:5)
at /home/jimjim/Desktop/counter/node_modules/@aztec/simulator/dest/private/acvm/acvm.js:44:5
at processTicksAndRejections (native:7:39)
Bun v1.3.5 (Linux x64)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.Aztec Version
3.0.0-devnet.20251212
OS
No response
Browser (if relevant)
No response
Node Version
22
Additional Context
No response
satyambnsal
Metadata
Metadata
Assignees
Labels
T-bugType: Bug. Something is broken.Type: Bug. Something is broken.from-communityThis originated from the community :)This originated from the community :)