-
Notifications
You must be signed in to change notification settings - Fork 346
[Web3] Configurability #1279
Comments
I'm a first-time open source contributor (though I've got a small amount of gRPC/protobuf experience, for what it's worth) - I'd be interested in picking up this issue, if it's a good starter one, although to be honest wrapping my head around the repo seems like a bit of a tall order so it might take me some time to get there. (I also completely understand if this would be better-suited for someone with more experience w/ Burrow to pick up!) |
Hey @rohitkumarWUSTL! Thanks for the interest, I can post a few links which I think may be of help. So when we establish the web3 service here, we should pass in a new config (which can be added here. The service can then check this config before doing things such as the balance conversion here. |
Thanks! The links are helpful. Sorry, I just need a little clarification - does the BurrowConfig contain sufficient information already (i.e. the only change that needs to be made is for the config field in the EthService struct to change types from a tmConfig to a BurrowConfig), or do additional fields need to be added to the BurrowConfig struct to reflect configurations of token values, state hashes and keys (with corresponding additions in the DefaultBurrowConfig() function as well)? (Or are neither of those the case, and I completely misread what you're going for?) |
So currently we only pass |
I see, that makes sense. So the changes that need to be made are:
Am I missing anything? Thank you for being so helpful! |
Those changes sound good to me! We can name the sub-struct |
@rohitkumarWUSTL are you still working on this? |
In order to preserve the outer dynamics of the web3 interface we have to change the representation of token values, state hashes and keys. It would be nice if these adjustments where configurable, with sensitive defaults.
The text was updated successfully, but these errors were encountered: