@aztec/aztec 2.1.0-rc.13 → 2.1.0-rc.14
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.
- package/dest/examples/util.d.ts +1 -1
- package/dest/examples/util.d.ts.map +1 -1
- package/dest/sandbox/sandbox.d.ts +1 -1
- package/dest/sandbox/sandbox.d.ts.map +1 -1
- package/dest/sandbox/sandbox.js +3 -3
- package/dest/testing/anvil_test_watcher.js +1 -1
- package/package.json +34 -34
- package/src/examples/util.ts +1 -1
- package/src/sandbox/sandbox.ts +3 -9
- package/src/testing/anvil_test_watcher.ts +1 -1
package/dest/examples/util.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EthAddress } from '@aztec/aztec.js';
|
|
2
2
|
import type { ExtendedViemWalletClient } from '@aztec/ethereum';
|
|
3
|
-
import type { Hex } from '@spalladino/viem';
|
|
4
3
|
import type { Abi, Narrow } from 'abitype';
|
|
4
|
+
import type { Hex } from 'viem';
|
|
5
5
|
/**
|
|
6
6
|
* Helper function to deploy ETH contracts.
|
|
7
7
|
* @param l1Client - A viem WalletClient extended with public actions.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/examples/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/examples/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEhC;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,QAAQ,EAAE,wBAAwB,EAClC,GAAG,EAAE,MAAM,CAAC,GAAG,GAAG,SAAS,OAAO,EAAE,CAAC,EACrC,QAAQ,EAAE,GAAG,EACb,IAAI,GAAE,SAAS,OAAO,EAAO,GAC5B,OAAO,CAAC,UAAU,CAAC,CAcrB;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/C"}
|
|
@@ -9,7 +9,7 @@ import { type PXEServiceConfig } from '@aztec/pxe/server';
|
|
|
9
9
|
import type { AztecNode } from '@aztec/stdlib/interfaces/client';
|
|
10
10
|
import type { PublicDataTreeLeaf } from '@aztec/stdlib/trees';
|
|
11
11
|
import { type TelemetryClient } from '@aztec/telemetry-client';
|
|
12
|
-
import { type HDAccount, type PrivateKeyAccount } from '
|
|
12
|
+
import { type HDAccount, type PrivateKeyAccount } from 'viem';
|
|
13
13
|
/**
|
|
14
14
|
* Function to deploy our L1 contracts to the sandbox L1
|
|
15
15
|
* @param aztecNodeConfig - The Aztec Node Config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../src/sandbox/sandbox.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,eAAe,EAAE,gBAAgB,EAAoB,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,yBAAyB,CAAC;AAa7F,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,KAAK,KAAK,EAAgB,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAoB,MAAM,yBAAyB,CAAC;AAGzE,OAAO,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AC;IACxB,4BAA4B,CAAC,EAAE,MAAM,CAAC;CAClC;;;;;;;;;;;;;;;;;;;;;;;GAkCP;AAED,wBAAwB;AACxB,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG;IAC5C,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,wBAAwB,EAAE,MAAM,CAAC;IACjC,qDAAqD;IACrD,KAAK,EAAE,OAAO,CAAC;IACf,uDAAuD;IACvD,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,YAAK,EAAE,OAAO,EAAE,KAAK;;;;GA4GtF;AAED;;;GAGG;AACH,wBAAsB,eAAe,CACnC,MAAM,GAAE,OAAO,CAAC,eAAe,CAAM,EACrC,IAAI,GAAE;IAAE,SAAS,CAAC,EAAE,eAAe,CAAC;IAAC,cAAc,CAAC,EAAE,uBAAuB,CAAC;IAAC,YAAY,CAAC,EAAE,YAAY,CAAA;CAAO,EACjH,OAAO,GAAE;IAAE,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAAO,6BAW7D;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM,mDAI3F"}
|
package/dest/sandbox/sandbox.js
CHANGED
|
@@ -17,9 +17,9 @@ import { protocolContractTreeRoot } from '@aztec/protocol-contracts';
|
|
|
17
17
|
import { createPXEService, getPXEServiceConfig } from '@aztec/pxe/server';
|
|
18
18
|
import { getConfigEnvVars as getTelemetryClientConfig, initTelemetryClient } from '@aztec/telemetry-client';
|
|
19
19
|
import { getGenesisValues } from '@aztec/world-state/testing';
|
|
20
|
-
import { createPublicClient, fallback, http as httpViemTransport } from '
|
|
21
|
-
import { mnemonicToAccount, privateKeyToAddress } from '
|
|
22
|
-
import { foundry } from '
|
|
20
|
+
import { createPublicClient, fallback, http as httpViemTransport } from 'viem';
|
|
21
|
+
import { mnemonicToAccount, privateKeyToAddress } from 'viem/accounts';
|
|
22
|
+
import { foundry } from 'viem/chains';
|
|
23
23
|
import { createAccountLogs } from '../cli/util.js';
|
|
24
24
|
import { DefaultMnemonic } from '../mnemonic.js';
|
|
25
25
|
import { AnvilTestWatcher } from '../testing/anvil_test_watcher.js';
|
|
@@ -2,7 +2,7 @@ import { RollupCheatCodes } from '@aztec/ethereum/test';
|
|
|
2
2
|
import { createLogger } from '@aztec/foundation/log';
|
|
3
3
|
import { RunningPromise } from '@aztec/foundation/running-promise';
|
|
4
4
|
import { RollupAbi } from '@aztec/l1-artifacts/RollupAbi';
|
|
5
|
-
import { getAddress, getContract } from '
|
|
5
|
+
import { getAddress, getContract } from 'viem';
|
|
6
6
|
/**
|
|
7
7
|
* Represents a watcher for a rollup contract.
|
|
8
8
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec",
|
|
3
|
-
"version": "2.1.0-rc.
|
|
3
|
+
"version": "2.1.0-rc.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -28,44 +28,44 @@
|
|
|
28
28
|
"../package.common.json"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aztec/accounts": "2.1.0-rc.
|
|
32
|
-
"@aztec/archiver": "2.1.0-rc.
|
|
33
|
-
"@aztec/aztec-faucet": "2.1.0-rc.
|
|
34
|
-
"@aztec/aztec-node": "2.1.0-rc.
|
|
35
|
-
"@aztec/aztec.js": "2.1.0-rc.
|
|
36
|
-
"@aztec/bb-prover": "2.1.0-rc.
|
|
37
|
-
"@aztec/bb.js": "2.1.0-rc.
|
|
38
|
-
"@aztec/blob-sink": "2.1.0-rc.
|
|
39
|
-
"@aztec/bot": "2.1.0-rc.
|
|
40
|
-
"@aztec/builder": "2.1.0-rc.
|
|
41
|
-
"@aztec/cli": "2.1.0-rc.
|
|
42
|
-
"@aztec/cli-wallet": "2.1.0-rc.
|
|
43
|
-
"@aztec/constants": "2.1.0-rc.
|
|
44
|
-
"@aztec/entrypoints": "2.1.0-rc.
|
|
45
|
-
"@aztec/ethereum": "2.1.0-rc.
|
|
46
|
-
"@aztec/foundation": "2.1.0-rc.
|
|
47
|
-
"@aztec/kv-store": "2.1.0-rc.
|
|
48
|
-
"@aztec/l1-artifacts": "2.1.0-rc.
|
|
49
|
-
"@aztec/node-lib": "2.1.0-rc.
|
|
50
|
-
"@aztec/noir-contracts.js": "2.1.0-rc.
|
|
51
|
-
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.
|
|
52
|
-
"@aztec/p2p": "2.1.0-rc.
|
|
53
|
-
"@aztec/p2p-bootstrap": "2.1.0-rc.
|
|
54
|
-
"@aztec/protocol-contracts": "2.1.0-rc.
|
|
55
|
-
"@aztec/prover-client": "2.1.0-rc.
|
|
56
|
-
"@aztec/prover-node": "2.1.0-rc.
|
|
57
|
-
"@aztec/pxe": "2.1.0-rc.
|
|
58
|
-
"@aztec/stdlib": "2.1.0-rc.
|
|
59
|
-
"@aztec/telemetry-client": "2.1.0-rc.
|
|
60
|
-
"@aztec/txe": "2.1.0-rc.
|
|
61
|
-
"@aztec/world-state": "2.1.0-rc.
|
|
62
|
-
"@spalladino/viem": "2.38.2-eip7594.0",
|
|
31
|
+
"@aztec/accounts": "2.1.0-rc.14",
|
|
32
|
+
"@aztec/archiver": "2.1.0-rc.14",
|
|
33
|
+
"@aztec/aztec-faucet": "2.1.0-rc.14",
|
|
34
|
+
"@aztec/aztec-node": "2.1.0-rc.14",
|
|
35
|
+
"@aztec/aztec.js": "2.1.0-rc.14",
|
|
36
|
+
"@aztec/bb-prover": "2.1.0-rc.14",
|
|
37
|
+
"@aztec/bb.js": "2.1.0-rc.14",
|
|
38
|
+
"@aztec/blob-sink": "2.1.0-rc.14",
|
|
39
|
+
"@aztec/bot": "2.1.0-rc.14",
|
|
40
|
+
"@aztec/builder": "2.1.0-rc.14",
|
|
41
|
+
"@aztec/cli": "2.1.0-rc.14",
|
|
42
|
+
"@aztec/cli-wallet": "2.1.0-rc.14",
|
|
43
|
+
"@aztec/constants": "2.1.0-rc.14",
|
|
44
|
+
"@aztec/entrypoints": "2.1.0-rc.14",
|
|
45
|
+
"@aztec/ethereum": "2.1.0-rc.14",
|
|
46
|
+
"@aztec/foundation": "2.1.0-rc.14",
|
|
47
|
+
"@aztec/kv-store": "2.1.0-rc.14",
|
|
48
|
+
"@aztec/l1-artifacts": "2.1.0-rc.14",
|
|
49
|
+
"@aztec/node-lib": "2.1.0-rc.14",
|
|
50
|
+
"@aztec/noir-contracts.js": "2.1.0-rc.14",
|
|
51
|
+
"@aztec/noir-protocol-circuits-types": "2.1.0-rc.14",
|
|
52
|
+
"@aztec/p2p": "2.1.0-rc.14",
|
|
53
|
+
"@aztec/p2p-bootstrap": "2.1.0-rc.14",
|
|
54
|
+
"@aztec/protocol-contracts": "2.1.0-rc.14",
|
|
55
|
+
"@aztec/prover-client": "2.1.0-rc.14",
|
|
56
|
+
"@aztec/prover-node": "2.1.0-rc.14",
|
|
57
|
+
"@aztec/pxe": "2.1.0-rc.14",
|
|
58
|
+
"@aztec/stdlib": "2.1.0-rc.14",
|
|
59
|
+
"@aztec/telemetry-client": "2.1.0-rc.14",
|
|
60
|
+
"@aztec/txe": "2.1.0-rc.14",
|
|
61
|
+
"@aztec/world-state": "2.1.0-rc.14",
|
|
63
62
|
"@types/chalk": "^2.2.0",
|
|
64
63
|
"abitype": "^0.8.11",
|
|
65
64
|
"chalk": "^5.3.0",
|
|
66
65
|
"commander": "^12.1.0",
|
|
67
66
|
"koa": "^2.16.1",
|
|
68
|
-
"koa-router": "^13.1.1"
|
|
67
|
+
"koa-router": "^13.1.1",
|
|
68
|
+
"viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
|
|
69
69
|
},
|
|
70
70
|
"files": [
|
|
71
71
|
"dest",
|
package/src/examples/util.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { EthAddress } from '@aztec/aztec.js';
|
|
|
2
2
|
import type { ExtendedViemWalletClient } from '@aztec/ethereum';
|
|
3
3
|
import { jsonStringify } from '@aztec/foundation/json-rpc';
|
|
4
4
|
|
|
5
|
-
import type { Hex } from '@spalladino/viem';
|
|
6
5
|
import type { Abi, Narrow } from 'abitype';
|
|
6
|
+
import type { Hex } from 'viem';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Helper function to deploy ETH contracts.
|
package/src/sandbox/sandbox.ts
CHANGED
|
@@ -31,15 +31,9 @@ import {
|
|
|
31
31
|
} from '@aztec/telemetry-client';
|
|
32
32
|
import { getGenesisValues } from '@aztec/world-state/testing';
|
|
33
33
|
|
|
34
|
-
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
createPublicClient,
|
|
38
|
-
fallback,
|
|
39
|
-
http as httpViemTransport,
|
|
40
|
-
} from '@spalladino/viem';
|
|
41
|
-
import { mnemonicToAccount, privateKeyToAddress } from '@spalladino/viem/accounts';
|
|
42
|
-
import { foundry } from '@spalladino/viem/chains';
|
|
34
|
+
import { type HDAccount, type PrivateKeyAccount, createPublicClient, fallback, http as httpViemTransport } from 'viem';
|
|
35
|
+
import { mnemonicToAccount, privateKeyToAddress } from 'viem/accounts';
|
|
36
|
+
import { foundry } from 'viem/chains';
|
|
43
37
|
|
|
44
38
|
import { createAccountLogs } from '../cli/util.js';
|
|
45
39
|
import { DefaultMnemonic } from '../mnemonic.js';
|
|
@@ -6,7 +6,7 @@ import { RunningPromise } from '@aztec/foundation/running-promise';
|
|
|
6
6
|
import type { TestDateProvider } from '@aztec/foundation/timer';
|
|
7
7
|
import { RollupAbi } from '@aztec/l1-artifacts/RollupAbi';
|
|
8
8
|
|
|
9
|
-
import { type GetContractReturnType, getAddress, getContract } from '
|
|
9
|
+
import { type GetContractReturnType, getAddress, getContract } from 'viem';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents a watcher for a rollup contract.
|