What's Changed
- chore(dependencies): Update
gtestto 1.16.0 by @satoshiotomakan in #4343 - [ETH]: Makes factory and paymaster optional while serialising UserOpV07 by @gupnik in #4345
- feat(biz): Allow to call
Biz.executewhen EOA is delegated already by @satoshiotomakan in #4351
Breaking Changes
Ethereum.SigningInput.transactionpayload needs to be manually wrapped intoEthereum.Transaction.Executemessage to be able to call a Smart Contract Wallet function through EIP-4337 entry point and UserOperation.
For example,
- transaction = Ethereum.Transaction.newBuilder().apply {
- erc20Transfer = Ethereum.Transaction.ERC20Transfer.newBuilder().apply {
- to = "0x95dc01ebd10b6dccf1cc329af1a3f73806117c2e"
- amount = ByteString.copyFrom("0xb5e620f48000".toHexByteArray())
- }.build()
- }.build()
+ transaction = Ethereum.Transaction.newBuilder().apply {
+ scwExecute = Ethereum.Transaction.SCWalletExecute.newBuilder().apply {
+ transaction = Ethereum.Transaction.newBuilder().apply {
+ erc20Transfer = Ethereum.Transaction.ERC20Transfer.newBuilder().apply {
+ to = "0x95dc01ebd10b6dccf1cc329af1a3f73806117c2e"
+ amount = ByteString.copyFrom("0xb5e620f48000".toHexByteArray())
+ }.build()
+ }.build()
+ }.build()
+ }.build()Ethereum.Transaction.Batchmessage is renamed toEthereum.Transaction.SCWalletBatchEthereum.Transaction.batchfield is renamed toEthereum.Transaction.scwBatch
Full Changelog: 4.2.19...4.2.20