Info

Download ZIP (104.7 KB)

Testing and Issues

You can test this entry and submit issues during the testing period of the TON Block Validation 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

22
by rating

Issues

Does your patch apply cleanly to branch 'validation-contest' for you? For me, it does not (unlike most other solutions). It appears that renames get in the way.

Platform: Ubuntu 22.04.1 LTS, git 2.34.1 (stock installation.)
Rich Leopard Feb 9 at 12:51
Hello!
This patch should successfully test on the following systems:
Ubuntu 22.04.5 LTS
Ubuntu 24.04.1 LTS

git version 2.34.1

Try this solution:
1) Create an empty directory, copy the file 'solution.patch' into it
2) Create a script in it: (test-solution.sh)

``` bash
#!/usr/bin/env sh
set -e
set -x

rm -rf ./build
rm -rf ./ton

git clone --recursive https://github.com/ton-blockchain/ton.git
cd ton
git checkout validation-contest

cd ../

cp ./solution.patch ./ton/solution.patch
cd ./ton/
git apply --stat ./solution.patch
git am --signoff < ./solution.patch

echo apply [OK]
```

chmod +x ./test-solution.sh

3) Execute the script:
./test-solution.sh

The patch should be applied successfully.

If any other problems arise, I will be glad to help.
Ubuntu 22.04.5 LTS, Ubuntu 24.04.1 LTS (git version 2.34.1)
FINAL TESTING RESULTS for entry6335
Passed 11841/11841 tests
Real time: 679.092525s
CPU time: 610.299671s
Baseline real time: 975.120982s, 30.36% improvement
Baseline CPU time: 897.583775s, 32.01% improvement
Nobody added any issues yet...