Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Remove Tobin Tax handling#199

Merged
eelanagaraj merged 6 commits into
masterfrom
eelanagaraj/tobin-tax-removal
Aug 23, 2023
Merged

Remove Tobin Tax handling#199
eelanagaraj merged 6 commits into
masterfrom
eelanagaraj/tobin-tax-removal

Conversation

@eelanagaraj

Copy link
Copy Markdown
Contributor

Description

The TobinTax was never activated in a way that Rosetta uses/tracks it (even with the "Toborked" accidental HF), so this PR removes all associated code. Note: it is technically optional (treating it as a 0-tax going forwards would result in the same behavior, but Rosetta logic is simpler without it).

Things removed:

  • TobinTax DB table creation, accessors
  • TobinTax handling in block_processor logic
  • special handling for log vs. transfer operations matching
  • unused types in analyzer/types.go

@eelanagaraj eelanagaraj mentioned this pull request Jul 26, 2023
6 tasks
@eelanagaraj eelanagaraj force-pushed the eelanagaraj/tobin-tax-removal branch 2 times, most recently from ef45d71 to 94800a1 Compare July 26, 2023 14:39
@palango

palango commented Jul 28, 2023

Copy link
Copy Markdown
Contributor

I think it makes a lot of sense to clean this up. Looks good from a first look, will check again once the other PRs are merged.

@eelanagaraj eelanagaraj force-pushed the eelanagaraj/tobin-tax-removal branch 2 times, most recently from d4dce45 to 466a1c2 Compare July 31, 2023 11:34
@eelanagaraj eelanagaraj force-pushed the eelanagaraj/tobin-tax-removal branch from 466a1c2 to b8d89e4 Compare August 7, 2023 08:08
@eelanagaraj eelanagaraj force-pushed the eelanagaraj/tobin-tax-removal branch from b8d89e4 to f938403 Compare August 23, 2023 10:05
Base automatically changed from eelanagaraj/g-hardfork-prep to master August 23, 2023 12:27
@eelanagaraj eelanagaraj force-pushed the eelanagaraj/tobin-tax-removal branch from f938403 to c2c0e92 Compare August 23, 2023 12:32
@eelanagaraj eelanagaraj marked this pull request as ready for review August 23, 2023 12:34
@eelanagaraj eelanagaraj requested a review from palango August 23, 2023 12:34

@palango palango left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, so much (complicated) code removed 🥳

@eelanagaraj eelanagaraj merged commit 76b049b into master Aug 23, 2023
@eelanagaraj eelanagaraj deleted the eelanagaraj/tobin-tax-removal branch August 23, 2023 12:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants