Open
0 of 2 issues completedDescription
Figure out a way to abstract all the state management in functions.
An example of something that developers should not consider:
// We don't need this part anymore
if contract.CallerAddress != origin && msg.Amount.Denom == evmtypes.GetEVMCoinDenom() {
scaledAmt := evmtypes.ConvertAmountTo18DecimalsBigInt(msg.Amount.Amount.BigInt())
p.SetBalanceChangeEntries(cmn.NewBalanceChangeEntry(delegatorHexAddr, scaledAmt, cmn.Sub))
}
Find a way to allow users to omit this part but still have balances properly updated.
In the ideal scenario, there are no wrappers.
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels