unicornultrafoundation / go-u2u

Implementation of U2U Network in Golang
https://u2u.xyz
GNU Lesser General Public License v3.0
4 stars 3 forks source link

Implement AA mechanism in core #90

Open b1m0n opened 4 months ago

b1m0n commented 4 months ago

Introduction

We are heading to implement a more generic and flexible account abstraction scheme. Accounts in U2U will be able to initiate transactions, like an EOA, but can also have arbitrary logic implemented in them, like a smart contract. The simple AA implementation at PR https://github.com/unicornultrafoundation/go-u2u/pull/64 and https://github.com/unicornultrafoundation/go-u2u/pull/66 is kinda simple, subjects to be spammed because this implementation doesn't have a selective mechanism for paying gas. The arbitrarity in AA logic and other DoS protection can be achieve via this new transaction type and how we treat the execution/gas estimation flow.

References:

Checklist

khoau2u commented 1 month ago