Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/fix mead #2668

Merged
merged 9 commits into from
Jul 12, 2024
Merged

Bugfix/fix mead #2668

merged 9 commits into from
Jul 12, 2024

Conversation

limebell
Copy link
Member

@limebell limebell commented Jul 4, 2024

No description provided.

@limebell limebell changed the base branch from development to feature/dpos-sloth July 4, 2024 02:24
@limebell limebell force-pushed the bugfix/fix-mead branch 2 times, most recently from 2a6f2e0 to 5d13047 Compare July 4, 2024 03:40
@limebell limebell marked this pull request as ready for review July 11, 2024 02:50
@@ -38,7 +38,7 @@ public override void LoadPlainValue(IValue plainValue)

public override IWorld Execute(IActionContext context)
{
context.UseGas(1);
Copy link
Member

Choose a reason for hiding this comment

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

Is RewardGold action no longer gassing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Despite of the line, it was treated as a BlockAction, so it did not consume gas actually at the libplanet level before. With changes in how actions are processed in libplanet, keeping that line could potentially cause issues, which is why it has been removed to maintain consistency with previous behavior.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the explanation!

@limebell limebell merged commit 6c497c2 into feature/dpos-sloth Jul 12, 2024
14 checks passed
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.

2 participants