Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(processor): generate from localnet #77

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified packages/chainspec/metadata/170.scale
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/chainspec/metadata/specVersion.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"network": "mainnet"
},
"170": {
"hash": "0xd9eeefdbd275bf7466b9d76c810a7ebfb1aab16a68301ee1ab605015c7295e95",
"network": "backspin"
"hash": "0x088108ff661d810d7b688a2b48282e4d4433c971cd75084d38bcff96aeadf4d6",
"network": "localnet"
}
}
58 changes: 58 additions & 0 deletions packages/processor/generated/170/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,68 @@ ArbitrumBroadcaster:
ArbitrumIngressEgress:
- BoostedDepositLost: added
- CcmFailed: added
- CcmFallbackScheduled: added
- DepositIgnored:
- reason: added
- FailedToBuildAllBatchCall:
- error: added
- FailedToRejectTaintedTransaction: added
- TaintedTransactionRejected: added
- TaintedTransactionReportExpired: added
- TaintedTransactionReportReceived: added

ArbitrumVault:
- ActivationTxFailedAwaitingGovernance: added

BitcoinBroadcaster:
- PalletConfigUpdated: added

BitcoinIngressEgress:
- BoostedDepositLost: added
- CcmFailed: added
- CcmFallbackScheduled: added
- DepositBoosted:
- depositDetails: changed
- DepositFinalised:
- depositDetails: changed
- DepositIgnored:
- depositDetails: changed
- reason: added
- DepositWitnessRejected:
- depositWitness: changed
- FailedToBuildAllBatchCall:
- error: added
- FailedToRejectTaintedTransaction: added
- TaintedTransactionRejected: added
- TaintedTransactionReportExpired: added
- TaintedTransactionReportReceived: added

BitcoinThresholdSigner:
- KeygenResponseTimeoutUpdated: removed
- PalletConfigUpdated: added
- ThresholdSignatureResponseTimeoutUpdated: removed

BitcoinVault:
- ActivationTxFailedAwaitingGovernance: added

EthereumBroadcaster:
- PalletConfigUpdated: added

EthereumIngressEgress:
- BoostedDepositLost: added
- CcmFailed: added
- CcmFallbackScheduled: added
- DepositIgnored:
- reason: added
- FailedToBuildAllBatchCall:
- error: added
- FailedToRejectTaintedTransaction: added
- TaintedTransactionRejected: added
- TaintedTransactionReportExpired: added
- TaintedTransactionReportReceived: added

EthereumVault:
- ActivationTxFailedAwaitingGovernance: added

EvmThresholdSigner:
- KeygenResponseTimeoutUpdated: removed
Expand All @@ -41,14 +78,24 @@ PolkadotBroadcaster:
PolkadotIngressEgress:
- BoostedDepositLost: added
- CcmFailed: added
- CcmFallbackScheduled: added
- DepositIgnored:
- reason: added
- FailedToBuildAllBatchCall:
- error: added
- FailedToRejectTaintedTransaction: added
- TaintedTransactionRejected: added
- TaintedTransactionReportExpired: added
- TaintedTransactionReportReceived: added

PolkadotThresholdSigner:
- KeygenResponseTimeoutUpdated: removed
- PalletConfigUpdated: added
- ThresholdSignatureResponseTimeoutUpdated: removed

PolkadotVault:
- ActivationTxFailedAwaitingGovernance: added

Reputation:
- OffencePenalty:
- offence: added
Expand All @@ -63,16 +110,27 @@ SolanaBroadcaster:
SolanaIngressEgress:
- BoostedDepositLost: added
- CcmFailed: added
- CcmFallbackScheduled: added
- DepositIgnored:
- reason: added
- FailedToBuildAllBatchCall:
- error: added
- FailedToRejectTaintedTransaction: added
- TaintedTransactionRejected: added
- TaintedTransactionReportExpired: added
- TaintedTransactionReportReceived: added

SolanaThresholdSigner:
- KeygenResponseTimeoutUpdated: removed
- PalletConfigUpdated: added
- ThresholdSignatureResponseTimeoutUpdated: removed

SolanaVault:
- ActivationTxFailedAwaitingGovernance: added

Swapping:
- CcmFailed: removed
- MinimumChunkSizeSet: added
- SwapRequested:
- requestType: added

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { cfTraitsScheduledEgressDetailsArbitrum } from '../common';

export const arbitrumIngressEgressCcmFallbackScheduled = z.object({
broadcastId: z.number(),
egressDetails: cfTraitsScheduledEgressDetailsArbitrum,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { z } from 'zod';
import {
cfChainsEvmDepositDetails,
cfPrimitivesChainsAssetsArbAsset,
hexString,
numberOrHex,
palletCfIngressEgressDepositIgnoredReason,
} from '../common';

export const arbitrumIngressEgressDepositIgnored = z.object({
depositAddress: hexString,
asset: cfPrimitivesChainsAssetsArbAsset,
amount: numberOrHex,
depositDetails: cfChainsEvmDepositDetails,
reason: palletCfIngressEgressDepositIgnoredReason,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { z } from 'zod';
import { cfChainsEvmDepositDetails } from '../common';

export const arbitrumIngressEgressFailedToRejectTaintedTransaction = z.object({
txId: cfChainsEvmDepositDetails,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { cfChainsEvmDepositDetails } from '../common';

export const arbitrumIngressEgressTaintedTransactionRejected = z.object({
broadcastId: z.number(),
txId: cfChainsEvmDepositDetails,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { accountId, hexString } from '../common';

export const arbitrumIngressEgressTaintedTransactionReportExpired = z.object({
accountId,
txId: hexString,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { z } from 'zod';
import { accountId, hexString } from '../common';

export const arbitrumIngressEgressTaintedTransactionReportReceived = z.object({
accountId,
txId: hexString,
expiresAt: z.number(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { z } from 'zod';
import { cfChainsEvmAggKey } from '../common';

export const arbitrumVaultActivationTxFailedAwaitingGovernance = z.object({
newPublicKey: cfChainsEvmAggKey,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { cfTraitsScheduledEgressDetailsBitcoin } from '../common';

export const bitcoinIngressEgressCcmFallbackScheduled = z.object({
broadcastId: z.number(),
egressDetails: cfTraitsScheduledEgressDetailsBitcoin,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { z } from 'zod';
import {
cfChainsBtcScriptPubkey,
cfChainsBtcUtxo,
cfPrimitivesChainsAssetsBtcAsset,
numberOrHex,
palletCfIngressEgressDepositAction,
} from '../common';

export const bitcoinIngressEgressDepositBoosted = z.object({
depositAddress: cfChainsBtcScriptPubkey,
asset: cfPrimitivesChainsAssetsBtcAsset,
amounts: z.array(z.tuple([z.number(), numberOrHex])),
depositDetails: cfChainsBtcUtxo,
prewitnessedDepositId: numberOrHex,
channelId: numberOrHex,
blockHeight: numberOrHex,
ingressFee: numberOrHex,
boostFee: numberOrHex,
action: palletCfIngressEgressDepositAction,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { z } from 'zod';
import {
cfChainsBtcScriptPubkey,
cfChainsBtcUtxo,
cfPrimitivesChainsAssetsBtcAsset,
numberOrHex,
palletCfIngressEgressDepositAction,
} from '../common';

export const bitcoinIngressEgressDepositFinalised = z.object({
depositAddress: cfChainsBtcScriptPubkey,
asset: cfPrimitivesChainsAssetsBtcAsset,
amount: numberOrHex,
blockHeight: numberOrHex,
depositDetails: cfChainsBtcUtxo,
ingressFee: numberOrHex,
action: palletCfIngressEgressDepositAction,
channelId: numberOrHex,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { z } from 'zod';
import {
cfChainsBtcScriptPubkey,
cfChainsBtcUtxo,
cfPrimitivesChainsAssetsBtcAsset,
numberOrHex,
palletCfIngressEgressDepositIgnoredReason,
} from '../common';

export const bitcoinIngressEgressDepositIgnored = z.object({
depositAddress: cfChainsBtcScriptPubkey,
asset: cfPrimitivesChainsAssetsBtcAsset,
amount: numberOrHex,
depositDetails: cfChainsBtcUtxo,
reason: palletCfIngressEgressDepositIgnoredReason,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { palletCfIngressEgressDepositWitnessBitcoin, spRuntimeDispatchError } from '../common';

export const bitcoinIngressEgressDepositWitnessRejected = z.object({
reason: spRuntimeDispatchError,
depositWitness: palletCfIngressEgressDepositWitnessBitcoin,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { z } from 'zod';
import { cfChainsBtcUtxo } from '../common';

export const bitcoinIngressEgressFailedToRejectTaintedTransaction = z.object({
txId: cfChainsBtcUtxo,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { cfChainsBtcUtxo } from '../common';

export const bitcoinIngressEgressTaintedTransactionRejected = z.object({
broadcastId: z.number(),
txId: cfChainsBtcUtxo,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { z } from 'zod';
import { accountId, hexString } from '../common';

export const bitcoinIngressEgressTaintedTransactionReportExpired = z.object({
accountId,
txId: hexString,
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { z } from 'zod';
import { accountId, hexString } from '../common';

export const bitcoinIngressEgressTaintedTransactionReportReceived = z.object({
accountId,
txId: hexString,
expiresAt: z.number(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { z } from 'zod';
import { cfChainsBtcAggKey } from '../common';

export const bitcoinVaultActivationTxFailedAwaitingGovernance = z.object({
newPublicKey: cfChainsBtcAggKey,
});
Loading