EOSIO / eosio.contracts

Smart contracts that provide some of the basic functions of the EOSIO blockchain
https://eosio.github.io/eosio.contracts/latest
MIT License
325 stars 574 forks source link

use yield function to fix tests to work with EOSIO v2.0.5 and later - develop #502

Closed revl closed 4 years ago

revl commented 4 years ago

This PR is the develop counterpart of https://github.com/EOSIO/eosio.contracts/pull/501

Change Description

Background: https://github.com/EOSIO/eos/pull/8823 broke backward compatibility in abi_serializer. It was restored in https://github.com/EOSIO/eos/pull/9128 by reintroducing the affected methods with old signatures as [[deprecated]].

This PR switches from the deprecated old methods that expect an abi_serializer_max_time value to the new methods that use a yield function instead.

Deployment Changes

API Changes

Documentation Additions