Sorry for mixing these two topics into one PR. This changes the contribution to be tied to a contributor ID instead of an account address. It also changes a bunch of numbers from uint256 to uint32.
Sorry for mixing these two topics into one PR. This changes the contribution to be tied to a contributor ID instead of an account address. It also changes a bunch of numbers from uint256 to uint32.
fsmanuel
(Migrated from github.com)
reviewed 2019-04-04 15:37:00 +00:00
Yes, but we're converting it before minting in claim(). Nobody has to mine more than 2.2 billion kredits at once, so the locally stored amount can be a smaller format.
Yes, but we're converting it before minting in `claim()`. Nobody has to mine more than 2.2 billion kredits at once, so the locally stored amount can be a smaller format.
fsmanuel
(Migrated from github.com)
reviewed 2019-04-04 21:04:19 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Sorry for mixing these two topics into one PR. This changes the contribution to be tied to a contributor ID instead of an account address. It also changes a bunch of numbers from uint256 to uint32.
@@ -22,3 +29,4 @@uint32 amount;bool claimed;bytes32 hashDigest;uint8 hashFunction;The
mintFortakes auint256@@ -57,3 +57,3 @@let contribution = [contributionAttr.amount,contributionAttr.contributorAccount,contributionAttr.contributorId,@@ -17,3 +16,3 @@return RSVP.all(contributions);return contributions;});It is missing a
.@@ -22,3 +29,4 @@uint32 amount;bool claimed;bytes32 hashDigest;uint8 hashFunction;Yes, but we're converting it before minting in
claim(). Nobody has to mine more than 2.2 billion kredits at once, so the locally stored amount can be a smaller format.@@ -16,3 +15,3 @@}return RSVP.all(contributions);return contributions;❤️
@@ -16,3 +15,3 @@}return RSVP.all(contributions);return contributions;to promise or not to promise? :bumiwonders:
🎉 🚀
@@ -16,3 +15,3 @@}return RSVP.all(contributions);return contributions;If you can wait for it you don't need to promise anything.