tezos-reward-distributor-organization / tezos-reward-distributor

Tezos Reward Distributor (TRD): A reward distribution software for tezos bakers.
https://tezos-reward-distributor-organization.github.io/tezos-reward-distributor/
GNU General Public License v3.0
87 stars 51 forks source link

Problem with using the new addresses as owner and founder. #659

Closed Nikolay-everstake closed 1 year ago

Nikolay-everstake commented 1 year ago

We created TRD config where we use who new addresses as owner and founder. Our config is version : 1.0 baking_address : tz1aRoaRhSpRYvFdyvgWLL6TGyRoGF51wDjM payment_address : tz1W1en9UpMCH4ZJL8wQCh8JDKCZARyVx2co service_fee : 15 founders_map : {tz1UD66sDxg8zsfLYQpKu7568zBHksxhExLh : 1} owners_map : {tz1arGrL4EZtJjtJQka425jAZ3BELCHh6cuz : 1} specials_map : {} supporters_set : {} min_delegation_amt : 0 delegator_pays_xfer_fee : false reactivate_zeroed: false delegator_pays_ra_fee: false pay_denunciation_rewards: false rules_map: Both of these addresses is revealed: https://tzkt.io/oo4dfSv7jkmd1U5Wij6NhKjnVMx9hGJP2aiR6dkB3ogfagfenUj/97030664 https://tzkt.io/ooyMRFsziuz3oCe68dpdenK67wcb65N1dfHXkUxi1eiR1nXs2wH/97030628 But when we executed --Dry-Run we got this error: tz1UD66sDxg8zsfLYQpKu7568zBHksxhExLh,F,2583512569,None,undefined,Excluded by zero balance. tz1arGrL4EZtJjtJQka425jAZ3BELCHh6cuz,O,2204958652,None,undefined,Excluded by zero balance. We propose a bounty of $100 for resolving this issue

jdsika commented 1 year ago

ok, so we have a few things:

jdsika commented 1 year ago

I am guessing it is because the delegation status is not yet active. It is definitely a bug. Thank you for reporting

jdsika commented 1 year ago

@Nikolay-everstake could you check if it is the easy fix in the related PR? Please still use dry-run

jdsika commented 1 year ago

reactivate_zeroed: false

I think it has to do with this as I have TRUE and not the same problem and can reproduce yours with FALSE.

Nikolay-everstake commented 1 year ago

No. I still get error git branch

tz1UD66sDxg8zsfLYQpKu7568zBHksxhExLh,F,2583512569,None,undefined,Excluded by zero balance. tz1arGrL4EZtJjtJQka425jAZ3BELCHh6cuz,O,2204958652,None,undefined,Excluded by zero balance.

jdsika commented 1 year ago

@Nikolay-everstake I am sorry your config is totally fine!!!! I did do a typo! I just meant "it has something to do with the value FALSE"

Please remove the config element and leave it as before :)

git pull

and try again

Nikolay-everstake commented 1 year ago

See this in logs tz1UD66sDxg8zsfLYQpKu7568zBHksxhExLh,F,2583512569,None,done,Empty account needed reactivation. tz1arGrL4EZtJjtJQka425jAZ3BELCHh6cuz,O,2204958652,None,done,Empty account needed reactivation.

Nikolay-everstake commented 1 year ago

Is it necessary to delegate to the baker address from this address or it can be just revealed address?

jdsika commented 1 year ago

At least NOW is tries to reactivate it :) I think it is not a problem to run it. I will investigate why the balance is zero. In this case I think you will only pay the reactivation fee

jdsika commented 1 year ago

The problem seems to also come from the fact that the address was (at the time) not delegated to the same baker which seemed to have skipped filling out the balance information.