Skip to content

(VDB-1430) Add ZRX and KNC#217

Merged
rmulhol merged 2 commits intostagingfrom
add-zrx
Jul 7, 2020
Merged

(VDB-1430) Add ZRX and KNC#217
rmulhol merged 2 commits intostagingfrom
add-zrx

Conversation

@rmulhol
Copy link
Copy Markdown
Contributor

@rmulhol rmulhol commented Jul 1, 2020

  • add ZRX address to config for existing transformers
  • add new transformers for ZRX storage
  • update OSM ABIs to match Etherscan
  • update constants to include ZRX
  • update integration tests where new constants cause failure

@rmulhol rmulhol changed the title Add ZRX (VDB-1430) Add ZRX Jul 1, 2020
@rmulhol rmulhol changed the title (VDB-1430) Add ZRX (VDB-1430) Add ZRX and KNC Jul 7, 2020
- add ZRX address to config for existing transformers
- add new transformers for ZRX storage
- update OSM ABIs to match Etherscan
- update constants to include ZRX
- update integration tests where new constants cause failure
logrus.Fatalf("No contracts to get ABI for")
}
initConfig()
contractABI := getContractABI(contractNames[0])
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.

👏

@@ -0,0 +1,8 @@
package knc_flip
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.

Do we need to also include a ZRX flip initializer?

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.

we already had one due to it existing in earlier Kovan deploys 🎉

"github.com/makerdao/vdb-mcd-transformers/transformers/storage/median/initializers"
)

var StorageTransformerInitializer = initializers.GenerateStorageTransformerInitializer(constants.GetContractAddress("MEDIAN_WBTC"))
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.

Should this be getting the MEDIAN_KNC address instead of MEDIAN_WBTC?

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.

yes, nice catch!

- refactor LogMedianPrice integration test to reduce duplication
@rmulhol rmulhol merged commit b04fc26 into staging Jul 7, 2020
@rmulhol rmulhol deleted the add-zrx branch July 7, 2020 16:15
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.

3 participants