Skip to content

Version: 1.25.0

Compare
Choose a tag to compare
@d3p d3p released this 10 Nov 10:16
· 1121 commits to master since this release
830066f

[1.25.0] – 2021-11-08

New

  • New module proofs is introduced!

  • Functions proofs.proof_block_data and proofs.proof_transaction_data
    which prove block data, retrieved from Graphql API.

    These are the first functions from proofs series :) Wait for others(proof_account_data, proof_message_data) in the next releases.

    Read about them more in the documentation.

  • abi.decode_boc function to decode custom BOC data into JSON parameters.

  • Ref(<ParamType>) type was added to ABI.
    Solidity functions use ABI types for builder encoding. The simplest way to decode such a BOC is to use ABI decoding. ABI has it own rules for fields layout in cells so manually encoded BOC can not be described in terms of ABI rules. To solve this problem we introduce a new ABI type Ref(<ParamType>) which allows to store ParamType ABI parameter in cell reference and, thus, decode manually encoded BOCs. This type is available only in decode_boc function and will not be available in ABI messages encoding until it is included into some ABI revision.