moonbeam
moonbeam copied to clipboard
regenerate compiled contracts
What does it do?
Regenerates solidity contracts with new camelCase params.
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?
We probalby need to fix ts tests for this too as a lot of them are relying on previous format
@4meta5 This change breaks the Lottery test https://github.com/PureStake/moonbeam/commit/1006872a256db7f181054f973c0064eb09cd2bd0#diff-2f6ef4e0b0dc5ffddf56d32b16ce67a6d3d64ced12d0a9eb00ec7d57189b4a16L127 I tried with reverting this change and the tests seemed to pass again.
Seems the RandomnessLotteryDemo.json wasn't regenerated in the original PR - could you take a look please?
@nbaztec feel free to revert that change https://github.com/PureStake/moonbeam/commit/1006872a256db7f181054f973c0064eb09cd2bd0#diff-2f6ef4e0b0dc5ffddf56d32b16ce67a6d3d64ced12d0a9eb00ec7d57189b4a16L127 to get the tests passing again so this PR can be merged
I'll fix it in a follow up. I don't see what I did wrong, maybe a type conversion is necessary, I tried multiplying it by 1 ether, but that did not seem to work either.
@4meta5 no problemo, fixed it via https://github.com/PureStake/moonbeam/pull/1748/commits/964fe353fdcc29975159996d5811948c297f0fa8