@argonprotocol/mainchain 1.4.3-dev.caca6309 → 1.4.3-dev.d84b1cb0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.3-dev.caca6309",
3
+ "version": "1.4.3-dev.d84b1cb0",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,11 +47,8 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@chainsafe/persistent-merkle-tree": "1.2.5",
51
50
  "@ethereumjs/block": "^10.1.1",
52
51
  "@ethereumjs/mpt": "^10.1.1",
53
- "@lodestar/params": "1.42.0",
54
- "@lodestar/types": "1.42.0",
55
52
  "@polkadot/api": "^16.5.6",
56
53
  "@polkadot/api-base": "^16.5.6",
57
54
  "@polkadot/keyring": "^14.0.3",
@@ -68,7 +65,7 @@
68
65
  },
69
66
  "devDependencies": {
70
67
  "@argonprotocol/ethereum-contracts": "workspace:*",
71
- "@argonprotocol/testing": "1.4.3-dev.caca6309",
68
+ "@argonprotocol/testing": "1.4.3-dev.d84b1cb0",
72
69
  "@polkadot/typegen": "^16.5.6",
73
70
  "@substrate/ss58-registry": "^1.51.0",
74
71
  "@types/node": "^20",
@@ -172,14 +172,14 @@ declare module '@polkadot/api-base/types/consts' {
172
172
  recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
173
173
  };
174
174
  ethereumVerifier: {
175
- /**
176
- * Whether the read-only event-log verification API is enabled.
177
- **/
178
- eventLogVerifierEnabled: bool & AugmentedConst<ApiType>;
179
175
  /**
180
176
  * Minimum gap between finalized headers for an update to be free.
181
177
  **/
182
178
  freeHeadersInterval: u32 & AugmentedConst<ApiType>;
179
+ /**
180
+ * Whether the read-only event-log verification API is enabled.
181
+ **/
182
+ verifyEventLogApiEnabled: bool & AugmentedConst<ApiType>;
183
183
  };
184
184
  grandpa: {
185
185
  /**
@@ -353,6 +353,10 @@ declare module '@polkadot/api-base/types/errors' {
353
353
  MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
354
354
  };
355
355
  crosschainTransfer: {
356
+ /**
357
+ * The captured reimbursable fee is greater than or equal to the burned Argon amount.
358
+ **/
359
+ InsufficientBurnAmountForFee: AugmentedError<ApiType>;
356
360
  /**
357
361
  * The burn account lacks enough balance for the payout.
358
362
  **/
@@ -501,6 +505,7 @@ declare module '@polkadot/api-base/types/errors' {
501
505
  SyncCommitteeHashTreeRootFailed: AugmentedError<ApiType>;
502
506
  SyncCommitteeParticipantsNotSupermajority: AugmentedError<ApiType>;
503
507
  SyncCommitteeUpdateRequired: AugmentedError<ApiType>;
508
+ UnexpectedBeaconPreset: AugmentedError<ApiType>;
504
509
  };
505
510
  feeControl: {
506
511
  /**
@@ -40,6 +40,7 @@ import type {
40
40
  ArgonPrimitivesDigestsFrameInfo,
41
41
  ArgonPrimitivesDigestsNotebookDigest,
42
42
  ArgonPrimitivesDomainZoneRecord,
43
+ ArgonPrimitivesEthereumEthereumBeaconPreset,
43
44
  ArgonPrimitivesForkPower,
44
45
  ArgonPrimitivesInherentsBlockSealInherent,
45
46
  ArgonPrimitivesNotaryNotaryMeta,
@@ -71,6 +72,7 @@ import type {
71
72
  PalletEthereumVerifierExecutionHeaderAnchor,
72
73
  PalletEthereumVerifierFinalizedBeaconHeaderState,
73
74
  PalletEthereumVerifierForkVersions,
75
+ PalletEthereumVerifierSyncCommitteePrepared,
74
76
  PalletGrandpaStoredPendingChange,
75
77
  PalletGrandpaStoredState,
76
78
  PalletLocalchainTransferQueuedTransferOut,
@@ -89,7 +91,6 @@ import type {
89
91
  PalletTreasuryFrameVaultCapital,
90
92
  PalletVaultsRecentCapacityDrop,
91
93
  PalletVaultsVaultFrameRevenue,
92
- SnowbridgeBeaconPrimitivesSyncCommitteePrepared,
93
94
  SpConsensusGrandpaAppPublic,
94
95
  SpRuntimeDigest,
95
96
  SpWeightsWeightV2Weight,
@@ -553,12 +554,20 @@ declare module '@polkadot/api-base/types/storage' {
553
554
  >;
554
555
  };
555
556
  ethereumVerifier: {
557
+ /**
558
+ * Chain-configured beacon preset expected by clients that submit verifier updates.
559
+ **/
560
+ beaconPreset: AugmentedQuery<
561
+ ApiType,
562
+ () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>,
563
+ []
564
+ >;
556
565
  /**
557
566
  * Sync committee for current period
558
567
  **/
559
568
  currentSyncCommittee: AugmentedQuery<
560
569
  ApiType,
561
- () => Observable<SnowbridgeBeaconPrimitivesSyncCommitteePrepared>,
570
+ () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
562
571
  []
563
572
  >;
564
573
  /**
@@ -638,7 +647,7 @@ declare module '@polkadot/api-base/types/storage' {
638
647
  **/
639
648
  nextSyncCommittee: AugmentedQuery<
640
649
  ApiType,
641
- () => Observable<SnowbridgeBeaconPrimitivesSyncCommitteePrepared>,
650
+ () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
642
651
  []
643
652
  >;
644
653
  /**