Info

Download ZIP (77 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

34

Comments

You can also check out the source code here: https://github.com/makhanovable/contest_bridge
You have not added any comments yet...
by rating

Issues

Potential issues:
1. lite-client smart contract doesn't verify weight of signers
2. Block in new_key_block message has only a seqno, fileHash, rootHash and validator set in custom format.
3. No checks that this is a KEY block.
4. Transaction checker does nothing but asks lite-client to validate block signatures.
5. tests don't actually test anything

this submission seems quite incomplete to me
Windows 10
2
Earnest Wasp Feb 6 at 02:56
1. My smart contract ensures that all validator signatures are valid
2. The provided data is sufficient for block verification, and the description explicitly stated that the format is up to us
3. While the smart contract itself doesn’t check for a KEY block, I do verify it when forming the message
4. The transaction checker verifies the proof to ensure it actually belongs to the block before requesting block signature validation
5. I did write tests, but I logged the results for manual review
Implemented some parsing and signature checks, expensive (probably Tact-related). No proper key-block update or transaction checks.
Nobody added any issues yet...