Taquito v20.0.0-beta.1
Pre-release
Pre-release
Summary
Paris(B) Protocol Support
Paris(B) Protocol comes with new Adaptive issuance features, including staking pseudo-operations.
Adaptive Issuance, Staking, and Adaptive slashing will be in effect roughly two weeks (5 cycles) after the proposal is activated on Mainnet. The new AI features will not be usable until then.
Beacon Migration
As of Beacon version 4.2.0, Beacon have migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
New Features
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API. This includes support forprepareProvider
,estimationProvider
, andrpcContractProvider
#2886@taquito/rpc
- Added various RPC endpoints related to Adaptive Issuance (Staking) #2676 #2678@taquito/rpc
- Updated return types for several RPC endpoints related to the Paris protocol update #2887@taquito/rpc
- RemovedgetEndorsingRights
RPC endpoint alongside with its related type definition and tests #2884@taquito/rpc
- Updated RPC types forAttestationWithDal
andEndorsementWithDal
#2880@taquito/rpc
- Updated RPC response types to support DAL types #2882@taquito/rpc
- Updated RPC response type for the new manager opdal_publish_commitment
#2881@taquito/beacon-wallet
- Added staking related pseudo operations (stake
,unstake
,finalize_unstake
) to the Wallet API #2921@taquito/local-forging
- Added local forging support forAttestationWithDal
operation #2880@taquito/local-forging
- Added local forging support for the new manager operationdal_publish_commitment
#2881@taquito/michelson-codec
- UpdatedTicket
literals for Paris protocol PR#2940@taquito/michel-codec
- Updated Michelson type definitions and validators to include the new Paris protocol ticket literals PR#2940
Internals
- Updated protocol constants integration test for Paris protocol #2869
- Configured keygen and integration test configs for Paris protocol #2888
- Added forger integration test for protocol migrations #2850
- Updated
@taquito/beacon-wallet
to use event subscription instead ofgetActiveAccount()
#2958 - Updated some website dependencies PR#2961
- Updated Beacon wallet dependency to the latest version
v4.2.2-beta.4
(includes Paris protocol definitions) PR#2956
Documentation
- Updated documentation for new Adaptive Issuance related features PR#2928
@taquito/taquito
- Added staking pseudo operations (stake, unstake, finalize_unstake) to the Contract API
const op = await Tezos.contract.stake({
amount: 100
});
await op.confirmation();