Skip to content

Commit

Permalink
feat: add l1 transaction fee to community token contracts operations
Browse files Browse the repository at this point in the history
Move estimation funtions to a estimations.go
Compute gas, suggested fees and l1 fee in one status-go call

Issue #14166
  • Loading branch information
endulab committed May 16, 2024
1 parent 5744502 commit 87b89e0
Show file tree
Hide file tree
Showing 8 changed files with 589 additions and 400 deletions.
2 changes: 1 addition & 1 deletion node/status_node_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func (b *StatusNode) pendingTrackerService(walletFeed *event.Feed) *transactions

func (b *StatusNode) CommunityTokensService() *communitytokens.Service {
if b.communityTokensSrvc == nil {
b.communityTokensSrvc = communitytokens.NewService(b.rpcClient, b.gethAccountManager, b.pendingTracker, b.config, b.appDB, &b.walletFeed)
b.communityTokensSrvc = communitytokens.NewService(b.rpcClient, b.gethAccountManager, b.pendingTracker, b.config, b.appDB, &b.walletFeed, b.transactor)
}
return b.communityTokensSrvc
}
Expand Down
406 changes: 27 additions & 379 deletions services/communitytokens/api.go

Large diffs are not rendered by default.

0 comments on commit 87b89e0

Please sign in to comment.