Skip to content

Updated GasScheduleNotifier interface#314

Open
sstanculeanu wants to merge 1 commit intorc/v1.7.next1from
interface_update
Open

Updated GasScheduleNotifier interface#314
sstanculeanu wants to merge 1 commit intorc/v1.7.next1from
interface_update

Conversation

@sstanculeanu
Copy link
Copy Markdown
Collaborator

No description provided.

@sstanculeanu sstanculeanu self-assigned this Jul 26, 2024
@sstanculeanu sstanculeanu marked this pull request as draft July 26, 2024 12:44
@sstanculeanu sstanculeanu marked this pull request as ready for review August 9, 2024 14:41
@andreibancioiu andreibancioiu requested a review from Copilot July 15, 2025 13:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the GasScheduleNotifier interface to support fetching the gas schedule for a specific epoch.

  • Added a new method GasScheduleForEpoch to the interface.
Comments suppressed due to low confidence (2)

core/interface.go:103

  • Add a Go-style doc comment above GasScheduleForEpoch explaining its purpose, parameters, return values, and error conditions.
	GasScheduleForEpoch(epoch uint32) (map[string]map[string]uint64, error)

core/interface.go:103

  • Ensure there are corresponding unit tests covering GasScheduleForEpoch, including valid epochs, boundary conditions, and error paths.
	GasScheduleForEpoch(epoch uint32) (map[string]map[string]uint64, error)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants