Skip to content

IterNextCostFlat not charged #10127

Closed
@alpe

Description

Summary of Bug

Iterator in gaskv only charges gas for existing entries.

Version

v0.42.9 and current master

Steps to Reproduce

bank.GetBalances costs no gas for an address without tokens.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions