-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
rename tx models and refactor to use Ethereum specific types #7
Conversation
- models.EthTx => models.Tx - models.EthTxAttempts => models.TxAttempt - models.Tx#Signable => models.Tx#EthTx
store/models/eth.go
Outdated
@@ -29,9 +29,9 @@ func (self *EthTx) Signable(gasPrice *big.Int) *types.Transaction { | |||
) | |||
} | |||
|
|||
type EthTxAttempt struct { | |||
type TxAttempt struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope xargs sed
came in handy
input models.RunResult, | ||
store *store.Store, | ||
) models.RunResult { | ||
recipient, err := utils.StringToAddress(e.Address) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
internal/cltest/fixtures.go
Outdated
Value: big.NewInt(0), | ||
GasLimit: big.NewInt(250000), | ||
} | ||
} | ||
|
||
func CreateTxAndAttempt( | ||
store *store.Store, | ||
from string, | ||
from common.Address, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the switch to stronger types.
rename tx models and refactor to use Ethereum specific types
remove unused symbolic link public
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
…-ropsten-pairs-on-aggregator-app Add several new ropsten pairs on aggregator app
Co-authored-by: Mateusz Sekara <[email protected]>
# This is the 1st commit message: update contract # This is the commit message #2: make scripts executable # This is the commit message #3: upload base too # This is the commit message #4: try again # This is the commit message #5: gather changesets, print products out of scope # This is the commit message #6: fix product finding # This is the commit message #7: try again # This is the commit message #8: debug # This is the commit message #9: debug 2 # This is the commit message #10: grab only modified or added changesets # This is the commit message #11: try again 1 # This is the commit message #12: remove early exit # This is the commit message #13: place changesets in a subfolder in final artifact # This is the commit message #14: validate whether everything was generated
Uses Ethereum's Address and Hash types instead of just strings.