Closed 0xSasaPrsic closed 2 months ago
This pull request addresses some of the issues found in the audit.
U256 conversion can cause panic.
Avoid using default values instead of throwing errors.
Duplicated condition check in decode_proof function.
Unused functions.
Please add the labels corresponding to the type of changes your PR introduces:
cargo test
cargo fmt
cargo build --release
cargo build --release --features runtime-benchmarks
cargo clippy
Closes https://github.com/availproject/engineering/issues/584
Pull Request type
This pull request addresses some of the issues found in the audit.
U256 conversion can cause panic.
Avoid using default values instead of throwing errors.
Duplicated condition check in decode_proof function.
Unused functions.
Please add the labels corresponding to the type of changes your PR introduces:
Description
Related Issues
Testing Performed
Checklist
cargo test
.cargo fmt
.cargo build --release
andcargo build --release --features runtime-benchmarks
.cargo clippy
.Closes https://github.com/availproject/engineering/issues/584