arc.js_legacy icon indicating copy to clipboard operation
arc.js_legacy copied to clipboard

Genesis Protocol - Calculate boosted threshold off chain.

Open orenyodfat opened this issue 7 years ago • 5 comments

Genesis Protocol threshold function is a gas consuming function. The threshold can be calculated off chain by tracking the number of booster proposal and the parameters .

orenyodfat avatar Jul 27 '18 08:07 orenyodfat

See https://github.com/daostack/arc/issues/500#issuecomment-408435870

dkent600 avatar Jul 27 '18 14:07 dkent600

Arc.js should support offchain threshold calculation . If it can so why not

On Fri, 27 Jul 2018 at 17:34 Doug Kent [email protected] wrote:

See daostack/arc#500 (comment) https://github.com/daostack/arc/issues/500#issuecomment-408435870

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daostack/arc.js/issues/295#issuecomment-408437138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFt3nrbZlKLx6ATyTTRr0zQu64zJ9J2Oks5uKyTpgaJpZM4VjIeq .

orenyodfat avatar Jul 27 '18 14:07 orenyodfat

Let’s remember that we would like to enable cheap and fast usage of the stack .following this concept the user:client should access the Blockchain only if it must to and we should enable that . The gp threshold func is relative gas consuming in related to simple read/calc func as it suppose to calc the expired boosted proposals .

On Fri, 27 Jul 2018 at 17:58 Oren Sokolowsky [email protected] wrote:

Arc.js should support offchain threshold calculation . If it can so why not

On Fri, 27 Jul 2018 at 17:34 Doug Kent [email protected] wrote:

See daostack/arc#500 (comment) https://github.com/daostack/arc/issues/500#issuecomment-408435870

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daostack/arc.js/issues/295#issuecomment-408437138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFt3nrbZlKLx6ATyTTRr0zQu64zJ9J2Oks5uKyTpgaJpZM4VjIeq .

orenyodfat avatar Jul 27 '18 15:07 orenyodfat

@orenyodfat Yes, I see no reason not to implement this in Arc.js. I only refer to the ticket in Arc to make note that the discussion exists there.

dkent600 avatar Jul 27 '18 16:07 dkent600

Turns out this is a difficult calculation. Keeping the logic in two places can cause problems down the road.

dkent600 avatar Aug 02 '18 10:08 dkent600