From 867f989848d5e6838038cb586cd860cd2f5edd27 Mon Sep 17 00:00:00 2001 From: lukaw3d <3758846+lukaw3d@users.noreply.github.com> Date: Mon, 8 Jul 2024 00:22:26 +0000 Subject: [PATCH] Update API bindings --- src/oasis-nexus/generated/api.ts | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/oasis-nexus/generated/api.ts b/src/oasis-nexus/generated/api.ts index 4b58cfb10e..fdb5768d7c 100644 --- a/src/oasis-nexus/generated/api.ts +++ b/src/oasis-nexus/generated/api.ts @@ -1215,10 +1215,8 @@ cancelling an existing proposal. /** The number of invalid votes for this proposal, after tallying. */ invalid_votes: TextBigInt; - /** The base64 encoded raw cbor representing the updated parameters -which are to be changed by this 'parameters_change' proposal. - */ - parameters_change?: string; + /** The parameters change proposal body. This spec does not encode the many possible types; instead, see [the Go API](https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go) of oasis-core. This object will conform to one of the `ConsensusParameterChanges` types, depending on the `parameters_change_module`. */ + parameters_change?: unknown; /** The name of the module whose parameters are to be changed by this 'parameters_change' proposal. */ @@ -1736,6 +1734,9 @@ export interface Transaction { to pay to execute it. */ fee: TextBigInt; + /** The maximum gas that a transaction can use. + */ + gas_limit: TextBigInt; /** The cryptographic hash of this transaction's encoding. */ hash: string; /** 0-based index of this transaction in its block */ @@ -1795,6 +1796,13 @@ export const ConsensusTxMethod = { stakingReclaimEscrow: 'staking.ReclaimEscrow', stakingTransfer: 'staking.Transfer', stakingWithdraw: 'staking.Withdraw', + 'keymanager/churpApply': 'keymanager/churp.Apply', + 'keymanager/churpConfirm': 'keymanager/churp.Confirm', + 'keymanager/churpCreate': 'keymanager/churp.Create', + 'keymanager/churpUpdate': 'keymanager/churp.Update', + vaultAuthorizeAction: 'vault.AuthorizeAction', + vaultCancelAction: 'vault.CancelAction', + vaultCreate: 'vault.Create', } as const; /** @@ -1932,7 +1940,7 @@ export type Runtime = typeof Runtime[keyof typeof Runtime]; export const Runtime = { emerald: 'emerald', sapphire: 'sapphire', - pontusx: 'pontusx', + pontusxtest: 'pontusxtest', pontusxdev: 'pontusxdev', cipher: 'cipher', } as const; @@ -1944,7 +1952,7 @@ export type Layer = typeof Layer[keyof typeof Layer]; export const Layer = { emerald: 'emerald', sapphire: 'sapphire', - pontusx: 'pontusx', + pontusxtest: 'pontusxtest', pontusxdev: 'pontusxdev', cipher: 'cipher', consensus: 'consensus',