You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Let's put every CBOR methods on one lib per actor, and attach them to bytes. We will need to rename the methods too.
Change from this
library MinerAPI {
// ...
using GetVestingFundsCBOR for MinerTypes.GetVestingFundsReturn;
using GetBeneficiaryCBOR for MinerTypes.GetBeneficiaryReturn;
using ChangeWorkerAddressCBOR for MinerTypes.ChangeWorkerAddressParams;
using ChangePeerIDCBOR for MinerTypes.ChangePeerIDParams;
using ChangeMultiaddrsCBOR for MinerTypes.ChangeMultiaddrsParams;
using GetPeerIDCBOR for MinerTypes.GetPeerIDReturn;
using GetMultiaddrsCBOR for MinerTypes.GetMultiaddrsReturn;
using WithdrawBalanceCBOR for MinerTypes.WithdrawBalanceParams;
using WithdrawBalanceCBOR for MinerTypes.WithdrawBalanceReturn;
// ...
}
to
library MinerAPI {
using MinerCBOR for *;
using AddressCBOR for bytes;
}
Let's put every CBOR methods on one lib per actor, and attach them to bytes. We will need to rename the methods too.
Change from this
to
🔗 zboto Link
The text was updated successfully, but these errors were encountered: