@aztec/p2p 0.85.0-alpha-testnet.8 → 0.85.0-alpha-testnet.9

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.
@@ -11,7 +11,7 @@ export class BlockHeaderTxValidator {
11
11
  await tx.data.constants.historicalHeader.hash()
12
12
  ]);
13
13
  if (index === undefined) {
14
- this.#log.warn(`Rejecting tx ${await Tx.getHash(tx)} for referencing an unknown block header`);
14
+ this.#log.debug(`Rejecting tx ${await Tx.getHash(tx)} for referencing an unknown block header`);
15
15
  return {
16
16
  result: 'invalid',
17
17
  reason: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/p2p",
3
- "version": "0.85.0-alpha-testnet.8",
3
+ "version": "0.85.0-alpha-testnet.9",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -65,16 +65,16 @@
65
65
  ]
66
66
  },
67
67
  "dependencies": {
68
- "@aztec/constants": "0.85.0-alpha-testnet.8",
69
- "@aztec/epoch-cache": "0.85.0-alpha-testnet.8",
70
- "@aztec/foundation": "0.85.0-alpha-testnet.8",
71
- "@aztec/kv-store": "0.85.0-alpha-testnet.8",
72
- "@aztec/noir-contracts.js": "0.85.0-alpha-testnet.8",
73
- "@aztec/noir-protocol-circuits-types": "0.85.0-alpha-testnet.8",
74
- "@aztec/protocol-contracts": "0.85.0-alpha-testnet.8",
75
- "@aztec/simulator": "0.85.0-alpha-testnet.8",
76
- "@aztec/stdlib": "0.85.0-alpha-testnet.8",
77
- "@aztec/telemetry-client": "0.85.0-alpha-testnet.8",
68
+ "@aztec/constants": "0.85.0-alpha-testnet.9",
69
+ "@aztec/epoch-cache": "0.85.0-alpha-testnet.9",
70
+ "@aztec/foundation": "0.85.0-alpha-testnet.9",
71
+ "@aztec/kv-store": "0.85.0-alpha-testnet.9",
72
+ "@aztec/noir-contracts.js": "0.85.0-alpha-testnet.9",
73
+ "@aztec/noir-protocol-circuits-types": "0.85.0-alpha-testnet.9",
74
+ "@aztec/protocol-contracts": "0.85.0-alpha-testnet.9",
75
+ "@aztec/simulator": "0.85.0-alpha-testnet.9",
76
+ "@aztec/stdlib": "0.85.0-alpha-testnet.9",
77
+ "@aztec/telemetry-client": "0.85.0-alpha-testnet.9",
78
78
  "@chainsafe/discv5": "9.0.0",
79
79
  "@chainsafe/enr": "3.0.0",
80
80
  "@chainsafe/libp2p-gossipsub": "13.0.0",
@@ -103,7 +103,7 @@
103
103
  "xxhash-wasm": "^1.1.0"
104
104
  },
105
105
  "devDependencies": {
106
- "@aztec/archiver": "0.85.0-alpha-testnet.8",
106
+ "@aztec/archiver": "0.85.0-alpha-testnet.9",
107
107
  "@jest/globals": "^29.5.0",
108
108
  "@types/jest": "^29.5.0",
109
109
  "@types/node": "^18.14.6",
@@ -17,7 +17,7 @@ export class BlockHeaderTxValidator<T extends AnyTx> implements TxValidator<T> {
17
17
  async validateTx(tx: T): Promise<TxValidationResult> {
18
18
  const [index] = await this.#archiveSource.getArchiveIndices([await tx.data.constants.historicalHeader.hash()]);
19
19
  if (index === undefined) {
20
- this.#log.warn(`Rejecting tx ${await Tx.getHash(tx)} for referencing an unknown block header`);
20
+ this.#log.debug(`Rejecting tx ${await Tx.getHash(tx)} for referencing an unknown block header`);
21
21
  return { result: 'invalid', reason: [TX_ERROR_BLOCK_HEADER] };
22
22
  }
23
23
  return { result: 'valid' };