Skip to content

Commit

Permalink
Merge pull request ethereum#118 from OffchainLabs/poster-cost-atomic
Browse files Browse the repository at this point in the history
Make Arbitrum poster cost cache atomic
  • Loading branch information
rachel-bousfield authored Jun 22, 2022
2 parents de56ab0 + 4b57c04 commit ec724ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/types/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ type Transaction struct {
inner TxData // Consensus contents of a transaction
time time.Time // Time first seen locally (spam avoidance)

// Arbitrum cache
PosterCost *big.Int
// Arbitrum cache: must be atomically accessed
PosterCost atomic.Value
CalldataUnits uint64

// caches
Expand Down

0 comments on commit ec724ba

Please sign in to comment.