Info

Download ZIP (277.7 KB)

Testing and Issues

You can test this entry and submit issues during the testing period of the TON Trustless Bridge Challenge contest.

Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.

Voting

15
by rating

Issues

Possible issues:
1. almost no tests (one test file is commented out)
2. In transaction-checker you have current_block data that is not used anywhere.
3. maybe I'm wrong, but I think block need MORE that 2/3 of votes. So this line is potentially wrong: weight_sum >= threshold
Windows 10
1
In transaction-checker smart-contract you check that tx is in dictionary. =)
1
Lite-client.
You get `total_weight` from input data and use it in `check_sign`.
So is true for `cur_vset`. You should get `total_weight` and validator set from block.
Lite-client can't work with exotic cells.
Implemented some parsing and signature checks, proper epoch update is not implemented (incoming data is trusted, not checked). Tx-checker trusts passed tx-dictionary.
Nobody added any issues yet...