Skip to content

Conversation

@noot
Copy link
Contributor

@noot noot commented Jun 1, 2024

Summary

remove the mint module and associated types.

Background

we never used it, and not something we want in production anyways.

Changes

  • remove the mint module and associated types.

Testing

n/a, code was removed

Breaking changes

this removes the mint action, which is technically a breaking change, however it was gated under a feature flag in sequencer which was never enabled on any network afaik. so I don't think this change affects any running network.

@noot noot requested review from a team as code owners June 1, 2024 18:59
@noot noot requested review from Fraser999 and SuperFluffy June 1, 2024 18:59
@github-actions github-actions bot added proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate labels Jun 1, 2024
Copy link
Contributor

@SuperFluffy SuperFluffy left a comment

Choose a reason for hiding this comment

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

Good to see this go. Just a comment on best-practices for deprecating proto message fields.

astria_vendored.tendermint.abci.ValidatorUpdate validator_update_action = 51;
IbcRelayerChangeAction ibc_relayer_change_action = 52;
FeeAssetChangeAction fee_asset_change_action = 53;
MintAction mint_action = 54;
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, if this were a non-alpha protobuf I would make this a 2-step process with 2 PRs:

  1. first PR: set it as `MintAction mint_action = 54 [deprecated = true];
  2. second PR: reserved 54; // deprecated "mint_action".

I think it's ok to not make this a 2-step process because of the alpha-nature. But I think to be on the safe side, can you add a section that reads like this? When we go to v1 (non-alpha) we can remove these.

// deprecated fields
reserved 54; // deprecated "mint_action"
reserved "mint_action";

@noot noot enabled auto-merge June 3, 2024 19:36
@noot noot added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit 35d69a6 Jun 3, 2024
@noot noot deleted the noot/remove-mint branch June 3, 2024 19:48
steezeburger added a commit that referenced this pull request Jun 5, 2024
* main:
  fix(charts): conductor configmap fix (#1146)
  feat(sequencer): add `allowed_fee_asset_ids` abci query and `sequencer_client` support (#1127)
  chore(conductor): release conductor 0.17 (#1139)
  feat: use macro to declare metric constants (#1129)
  refactor(merkle): remove source of panics in audit API (#1137)
  feat(conductor): skip outdated block metadata (#1120)
  refactor(sequencer): remove mint module (#1134)
  feat(bridge-withdrawer): add justfile (#1135)
  chore(chart): change evm back to latest on dev (#1132)
  feat(conductor, proto)!: celestia base heights in commitment state (#1121)
github-merge-queue bot pushed a commit that referenced this pull request Oct 16, 2024
## Summary
remove unused enable mint env. We removed the mint module in
#1134, the config var was unused
but left in.
sgranfield4403-3 added a commit to sgranfield4403-3/astria that referenced this pull request Oct 2, 2025
## Summary
remove unused enable mint env. We removed the mint module in
astriaorg/astria#1134, the config var was unused
but left in.
AngieD101 added a commit to AngieD101/astria that referenced this pull request Oct 10, 2025
## Summary
remove unused enable mint env. We removed the mint module in
astriaorg/astria#1134, the config var was unused
but left in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proto pertaining to the Astria Protobuf spec sequencer pertaining to the astria-sequencer crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants