Skip to content

Release 3.0.0-beta.8

Compare
Choose a tag to compare
@forshtat forshtat released this 16 May 22:24
· 11 commits to master since this release

Breaking changes:

RelayProvider.newProvider method has been deprecated to avoid confusion.
Please use one of the following:

  • newWeb3Provider to create an EIP-1193 Provider compatible with Web3.js
  • newEthersV5Provider to create a pair of Provider and Signer objects compatible with Ethers.js v5
  • newEthersV6Provider to create a pair of Provider and Signer objects compatible with Ethers.js v6

New features:

OG-1057: Expreimental support for Ethers.js v6. Support passing an Ethers Signer objects, including Wallet, into "new provider" methods

OG-1062: Print skipped relays as errors if relay request failed

OG-1053: GsnTestEnvironment generates deterministic address for Relay Manager and Worker by default. Allow overriding Test Environment server configuration parameters.

OG-1045: Estimate view call gas limit on client with the same logic the Relay Server will use

Previously this caused many errors related to maxViewableGasLimit and minViewableGasLimit parameters, and required the Paymaster and Relay Worker to have a lot of excess balance to relay transactions.