Skip to content

Conversation

@muXxer
Copy link
Contributor

@muXxer muXxer commented Oct 8, 2024

Description of change

This PR removes unused EpochFlags.
I guess we need to reset the existing networks because that is a breaking change.

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How the change has been tested

I was running the local network with RUST_LOG=info cargo run --release --bin iota start --force-regenesis --with-faucet

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@muXxer muXxer requested review from a team as code owners October 8, 2024 14:31
@muXxer muXxer force-pushed the core-node/remove/deprecated-epoch-flags branch from bc12654 to 96f0b62 Compare October 8, 2024 14:34
@muXxer muXxer added the node Issues related to the Core Node team label Oct 8, 2024
@muXxer muXxer changed the base branch from develop to core-node/feat/remove-multiple-types October 9, 2024 09:14
@muXxer muXxer requested review from a team, miker83z and valeriyr as code owners October 9, 2024 09:14
@muXxer muXxer force-pushed the core-node/remove/deprecated-epoch-flags branch 2 times, most recently from d48b7b0 to a8a5b04 Compare October 9, 2024 09:36
@muXxer muXxer changed the title !chore(core-node): remove unused EpochFlags + special ExecutedInEpochTable logic chore(core-node)!: remove unused EpochFlags + special ExecutedInEpochTable logic Oct 10, 2024
@jkrvivian jkrvivian force-pushed the core-node/feat/remove-multiple-types branch from 3b0f4fd to b98d4cd Compare October 14, 2024 07:10
@muXxer muXxer force-pushed the core-node/feat/remove-multiple-types branch 2 times, most recently from 6fb25d5 to 2a63305 Compare October 14, 2024 10:29
@muXxer muXxer force-pushed the core-node/remove/deprecated-epoch-flags branch from a8a5b04 to e85499b Compare October 14, 2024 10:31
Copy link
Contributor

@miker83z miker83z left a comment

Choose a reason for hiding this comment

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

Looks good, only a question:

Comment on lines -1476 to -1477
// executed_in_epoch_table is enabled everywhere, we can remove the code below
// entirely.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have this assurance because we removed executed_in_epoch_table completely and the node is running?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it's the default setting since a long time in upstream, and for us it's enabled from the start.

@muXxer muXxer merged commit 0e8f219 into core-node/feat/remove-multiple-types Oct 14, 2024
26 of 33 checks passed
@muXxer muXxer deleted the core-node/remove/deprecated-epoch-flags branch October 14, 2024 15:27
muXxer added a commit that referenced this pull request Oct 21, 2024
…ochTable` logic (#3139)

* !chore(core-node): remove unused EpochFlags

* !chore(core-node): remove ExecutedInEpochTable EpochFlag incl. special logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

node Issues related to the Core Node team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants