Skip to content

VDB-1599 cat file box [staging]#284

Merged
elizabethengelman merged 11 commits intostagingfrom
vdb-1599-cat-file-box-staging
Sep 8, 2020
Merged

VDB-1599 cat file box [staging]#284
elizabethengelman merged 11 commits intostagingfrom
vdb-1599-cat-file-box-staging

Conversation

@elizabethengelman
Copy link
Copy Markdown
Contributor

No description provided.

@elizabethengelman elizabethengelman force-pushed the vdb-1599-cat-file-box-staging branch from 8630b14 to 1a6fa1e Compare September 3, 2020 15:31
Copy link
Copy Markdown
Contributor

@paytonrules paytonrules left a comment

Choose a reason for hiding this comment

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

A couple questions that probably reflect more on my ignorance than the code, and you'll probably want to remove commented imports, otherwise 👍

median_wbtc.StorageTransformerInitializer,
median_zrx.StorageTransformerInitializer,
},
[]storage.TransformerInitializer{},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did you mean to empty this out?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I did - was thinking that it would be easier to do a backfill for all of the new cat transformers in one go, than having to change it for each new transformer.

import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
//"github.com/ethereum/go-ethereum/core"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Commented imports.

Copy link
Copy Markdown
Contributor Author

@elizabethengelman elizabethengelman Sep 8, 2020

Choose a reason for hiding this comment

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

🙈 nice catch

}
func catFileChopLumpMethod() string {
return getOverloadedFunctionSignature(CatABI(), "file", []string{"bytes32", "bytes32", "uint256"})
return getOverloadedFunctionSignature(Cat100ABI(), "file", []string{"bytes32", "bytes32", "uint256"})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just double checking that this is right - this is Cat100 not 110 because there is no chop lump in the new contract correct?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's correct. Though, I think that Cat110 has a file method that has the same signature, so this method could probably be renamed to catFileChopDunkMethod() as part of the VDB-1632 work.

@elizabethengelman elizabethengelman merged commit 0c842ee into staging Sep 8, 2020
@elizabethengelman elizabethengelman deleted the vdb-1599-cat-file-box-staging branch September 8, 2020 21:32
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