@aztec/stdlib 2.1.0-rc.12 → 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.
@@ -1,5 +1,5 @@
1
1
  import { hexToBuffer } from '@aztec/foundation/string';
2
- import { encodeAbiParameters, parseAbiParameters } from '@spalladino/viem';
2
+ import { encodeAbiParameters, parseAbiParameters } from 'viem';
3
3
  import { z } from 'zod';
4
4
  import { CommitteeAttestation } from './committee_attestation.js';
5
5
  export class CommitteeAttestationsAndSigners {
@@ -1,6 +1,6 @@
1
1
  import { type L1TxRequest, type ViemClient } from '@aztec/ethereum';
2
2
  import { EthAddress } from '@aztec/foundation/eth-address';
3
- import { type Hex, type Log } from '@spalladino/viem';
3
+ import { type Hex, type Log } from 'viem';
4
4
  import type { L1RollupConstants } from '../epoch-helpers/index.js';
5
5
  import { type SlashPayload, type ValidatorSlash, type ValidatorSlashOffense } from '../slashing/index.js';
6
6
  export declare class SlashFactoryContract {
@@ -1 +1 @@
1
- {"version":3,"file":"slash_factory.d.ts","sourceRoot":"","sources":["../../src/l1-contracts/slash_factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAmB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,OAAO,EAA8B,KAAK,GAAG,EAAE,KAAK,GAAG,EAAmC,MAAM,kBAAkB,CAAC;AAEnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAE3B,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,oBAAoB;aAKb,MAAM,EAAE,UAAU;IAJpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAClE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4D;gBAGnE,MAA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import { EthAddress } from '@aztec/foundation/eth-address';
4
4
  import { createLogger } from '@aztec/foundation/log';
5
5
  import { SlashFactoryAbi } from '@aztec/l1-artifacts/SlashFactoryAbi';
6
- import { encodeFunctionData, getContract } from '@spalladino/viem';
6
+ import { encodeFunctionData, getContract } from 'viem';
7
7
  import { OffenseToBigInt, bigIntToOffense } from '../slashing/index.js';
8
8
  export class SlashFactoryContract {
9
9
  client;
@@ -2,7 +2,7 @@ import { Fr } from '@aztec/foundation/fields';
2
2
  import { schemas } from '@aztec/foundation/schemas';
3
3
  import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
4
4
  import { hexToBuffer } from '@aztec/foundation/string';
5
- import { encodeAbiParameters, parseAbiParameters } from '@spalladino/viem';
5
+ import { encodeAbiParameters, parseAbiParameters } from 'viem';
6
6
  import { z } from 'zod';
7
7
  import { ProposedBlockHeader, StateReference } from '../tx/index.js';
8
8
  export class ConsensusPayload {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/stdlib",
3
- "version": "2.1.0-rc.12",
3
+ "version": "2.1.0-rc.14",
4
4
  "type": "module",
5
5
  "inherits": [
6
6
  "../package.common.json",
@@ -70,15 +70,14 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@aws-sdk/client-s3": "^3.892.0",
73
- "@aztec/bb.js": "2.1.0-rc.12",
74
- "@aztec/blob-lib": "2.1.0-rc.12",
75
- "@aztec/constants": "2.1.0-rc.12",
76
- "@aztec/ethereum": "2.1.0-rc.12",
77
- "@aztec/foundation": "2.1.0-rc.12",
78
- "@aztec/l1-artifacts": "2.1.0-rc.12",
79
- "@aztec/noir-noirc_abi": "2.1.0-rc.12",
73
+ "@aztec/bb.js": "2.1.0-rc.14",
74
+ "@aztec/blob-lib": "2.1.0-rc.14",
75
+ "@aztec/constants": "2.1.0-rc.14",
76
+ "@aztec/ethereum": "2.1.0-rc.14",
77
+ "@aztec/foundation": "2.1.0-rc.14",
78
+ "@aztec/l1-artifacts": "2.1.0-rc.14",
79
+ "@aztec/noir-noirc_abi": "2.1.0-rc.14",
80
80
  "@google-cloud/storage": "^7.15.0",
81
- "@spalladino/viem": "2.38.2-eip7594.0",
82
81
  "axios": "^1.12.0",
83
82
  "json-stringify-deterministic": "1.0.12",
84
83
  "lodash.chunk": "^4.2.0",
@@ -88,6 +87,7 @@
88
87
  "msgpackr": "^1.11.2",
89
88
  "pako": "^2.1.0",
90
89
  "tslib": "^2.4.0",
90
+ "viem": "npm:@spalladino/viem@2.38.2-eip7594.0",
91
91
  "zod": "^3.23.8"
92
92
  },
93
93
  "devDependencies": {
@@ -1,7 +1,7 @@
1
1
  import type { ViemCommitteeAttestations } from '@aztec/ethereum';
2
2
  import { hexToBuffer } from '@aztec/foundation/string';
3
3
 
4
- import { encodeAbiParameters, parseAbiParameters } from '@spalladino/viem';
4
+ import { encodeAbiParameters, parseAbiParameters } from 'viem';
5
5
  import { z } from 'zod';
6
6
 
7
7
  import type { Signable, SignatureDomainSeparator } from '../../p2p/signature_utils.js';
@@ -4,7 +4,7 @@ import { EthAddress } from '@aztec/foundation/eth-address';
4
4
  import { createLogger } from '@aztec/foundation/log';
5
5
  import { SlashFactoryAbi } from '@aztec/l1-artifacts/SlashFactoryAbi';
6
6
 
7
- import { type GetContractReturnType, type Hex, type Log, encodeFunctionData, getContract } from '@spalladino/viem';
7
+ import { type GetContractReturnType, type Hex, type Log, encodeFunctionData, getContract } from 'viem';
8
8
 
9
9
  import type { L1RollupConstants } from '../epoch-helpers/index.js';
10
10
  import {
@@ -4,7 +4,7 @@ import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
4
4
  import { hexToBuffer } from '@aztec/foundation/string';
5
5
  import type { FieldsOf } from '@aztec/foundation/types';
6
6
 
7
- import { encodeAbiParameters, parseAbiParameters } from '@spalladino/viem';
7
+ import { encodeAbiParameters, parseAbiParameters } from 'viem';
8
8
  import { z } from 'zod';
9
9
 
10
10
  import type { L2Block } from '../block/l2_block.js';