Skip to content

feat (batcher-payment-service): allow users to specify max fee #860

Description

@taturosati

Users should sign max fee they are willing to pay along with nonced verification data

Batcher should sort verifications data descending on max fee:

  • Batcher should not allow user to send a nonce > a pending nonce with a max fee > pending max fee. For sorting purposes, if not it adds too many checks when finalizing batch.

Contract should verify that cost * gas price < signed max fee for every proof in batch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions