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

feat: add l1 transaction fee to community token contracts operations #5071

Merged
merged 1 commit into from May 17, 2024

Conversation

endulab
Copy link
Contributor

@endulab endulab commented Apr 18, 2024

Move estimation funtions to a estimations.go
Compute gas, suggested fees and l1 fee in one status-go call

Issue #14166

@status-im-auto
Copy link
Member

status-im-auto commented Apr 18, 2024

Jenkins Builds

Click to see older builds (16)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 61b56d5 #1 2024-04-18 09:45:08 ~1 min tests 📄log
✔️ 61b56d5 #1 2024-04-18 09:47:59 ~4 min linux 📦zip
✔️ 61b56d5 #1 2024-04-18 09:49:08 ~5 min ios 📦zip
✔️ 61b56d5 #1 2024-04-18 09:49:23 ~5 min android 📦aar
✖️ f06b030 #2 2024-05-07 08:19:04 ~1 min tests 📄log
✔️ f06b030 #2 2024-05-07 08:22:23 ~4 min linux 📦zip
✔️ f06b030 #2 2024-05-07 08:23:03 ~5 min ios 📦zip
✔️ f06b030 #2 2024-05-07 08:23:32 ~5 min android 📦aar
✖️ f06b030 #3 2024-05-16 14:20:51 ~2 min tests 📄log
✔️ f06b030 #3 2024-05-16 14:22:55 ~4 min linux 📦zip
✔️ f06b030 #3 2024-05-16 14:22:58 ~4 min ios 📦zip
✔️ f06b030 #3 2024-05-16 14:24:47 ~6 min android 📦aar
✖️ 87b89e0 #4 2024-05-16 16:06:00 ~1 min tests 📄log
✔️ 87b89e0 #4 2024-05-16 16:08:12 ~3 min android 📦aar
✔️ 87b89e0 #4 2024-05-16 16:08:58 ~4 min linux 📦zip
✔️ 87b89e0 #4 2024-05-16 16:10:29 ~5 min ios 📦zip
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c39d1e8 #5 2024-05-16 16:11:29 ~2 min android 📦aar
✔️ c39d1e8 #5 2024-05-16 16:12:02 ~2 min linux 📦zip
✔️ c39d1e8 #5 2024-05-16 16:14:05 ~3 min ios 📦zip
✔️ c39d1e8 #5 2024-05-16 16:54:24 ~44 min tests 📄log

return res
}

func (s *Service) deployOwnerTokenEstimate(ctx context.Context, chainID uint64, fromAddress string,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The most important changes are in this file. For every operation:

  • compute gas units,
  • get suggested fees,
  • compute l1 fee.

@endulab endulab force-pushed the 4351-community-token-refactoring branch 4 times, most recently from 5d139ac to 2e94b07 Compare April 18, 2024 13:29
Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

I was like "Man this PR is very big for what I thought it would be. Also some of the code feels similar to what I've seen before"

Then I saw that you were based on top of the transaction refactor, but there is a conflict right now, so it doesn't show the diff correctly, so I reviewed only the second commit

@endulab endulab linked an issue Apr 24, 2024 that may be closed by this pull request
@endulab endulab force-pushed the 4351-community-token-refactoring branch from 2e94b07 to 565f8d1 Compare April 25, 2024 20:00
@endulab endulab force-pushed the 4351-community-token-refactoring branch from 565f8d1 to 98b7a47 Compare May 6, 2024 13:41
Base automatically changed from 4351-community-token-refactoring to develop May 16, 2024 14:18
Move estimation funtions to a estimations.go
Compute gas, suggested fees and l1 fee in one status-go call

Issue #14166
@endulab endulab merged commit c3ab8bd into develop May 17, 2024
8 of 9 checks passed
@endulab endulab deleted the 14166-add-l1-fees branch May 17, 2024 07:57
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.

L1 fees for optimism communities call
3 participants