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

rename tx models and refactor to use Ethereum specific types #7

Merged
merged 2 commits into from
Jan 8, 2018

Conversation

se3000
Copy link
Contributor

@se3000 se3000 commented Jan 8, 2018

Uses Ethereum's Address and Hash types instead of just strings.

se3000 added 2 commits January 7, 2018 09:51
- models.EthTx => models.Tx
- models.EthTxAttempts => models.TxAttempt
- models.Tx#Signable => models.Tx#EthTx
@@ -29,9 +29,9 @@ func (self *EthTx) Signable(gasPrice *big.Int) *types.Transaction {
)
}

type EthTxAttempt struct {
type TxAttempt struct {
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Value: big.NewInt(0),
GasLimit: big.NewInt(250000),
}
}

func CreateTxAndAttempt(
store *store.Store,
from string,
from common.Address,
Copy link
Contributor

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.

@dimroc dimroc merged commit 9f85223 into master Jan 8, 2018
@se3000 se3000 deleted the ic/steve branch February 1, 2018 19:37
jordanbonilla pushed a commit that referenced this pull request Feb 15, 2018
rename tx models and refactor to use Ethereum specific types
rupurt added a commit that referenced this pull request Apr 8, 2019
rupurt pushed a commit that referenced this pull request Jan 22, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
rupurt pushed a commit that referenced this pull request Jan 23, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
rupurt pushed a commit that referenced this pull request Jan 23, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
rupurt pushed a commit that referenced this pull request Jan 29, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
rupurt pushed a commit that referenced this pull request Jan 31, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
rupurt pushed a commit that referenced this pull request Jan 31, 2020
…-ropsten-pairs-on-aggregator-app

Add several new ropsten pairs on aggregator app
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
Tofel added a commit that referenced this pull request Aug 2, 2024
# 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
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.

2 participants