Because 3 days ago only 60 deposits + 60 withdrawals were updated. They are maybe hundreds (or even thousands ?) of withdrawals before yours.

2 Likes

Arigato for the explanation!

yes you are correct. unfortunately, this is how it works at this moment

Maybe tree contract needs to return some TORN as a compensation to whoever submits the update

It is also possible to make tree updates significantly cheaper using snarks

7 Likes

I don’t know who is currently updating these trees, but it’s expensive. This guy spent already 17 ETH on updates: https://fees.wtf/?address=0x1b0fd2d65116e30353980b5c02b476b7b9eb85b8

And I guess we’re already falling behind by quite a bit. No sure how many deposits and withdrawals are pending for update but likely more than a 1000.

I think we need to look for a sustainable solution here.

2 Likes

Updating tree with a snark should cost about 300k gas per batch, and its size can be chosen arbitrarily (but all batches will be the same size). For example for a batch size of 128 (~1 day of deposits) the cost of update will be ~50x cheaper. Will post some more info in the coming days.

1 Like

That would definitely be amazing! I think you could even push it up to 256 deposits. I would expect the rate of deposits to increase once TORN is tradable. Looking forward to learn more.

1 Like

Looking forward to an early update. The current update progress is much behind.

thanks

hey, have been 22 day 3 of my note still not update. too long waiting pretty damn annoying, can someone help me with this shi

Please let’s stay gentle. If you’re annoyed, you’re not forced to mine.

As you can see form the previous messages, smart people are working on the issue.

2 Likes

Does it make sense to allocate some DAO funds towards updating the trees later on with a bot?

1 Like

I’d support that with as much as needed

A little update on the progress: snark circuits, contract, and JS are completed. We are currently finishing migration script, tests, and need to do a security audit. With this tree updates will be 10x cheaper.

12 Likes

That’s really exciting. Thanks for the update @poma!
I am curious to know, how will the migration go ? Will it only supports new withdrawals and deposits ? Can it update deposits and withdrawals of the old tree ?

It will import current roots and deposit/withdrawal queue from the old contract. It will allow to update queued deposits for new reduced price. For users it will be seamless.

4 Likes

Great, you did a great job. @poma

thanks

1 Like

This is outstanding! Thanks @poma. Any idea when this might be implemented? And is there anything we can do to support you and this effort?

2 Likes

Thats a great news. Any idea about the time frame are we talking about?

3 Likes

Probably 2 weeks, need to do a security audit and test everything

3 Likes

Testing and auditing are absolutely paramount