fix: pin Rust toolchain, cache tarpaulin, check fuzz targets, guard s…#1285
Open
Jayy4rl wants to merge 1 commit into
Open
fix: pin Rust toolchain, cache tarpaulin, check fuzz targets, guard s…#1285Jayy4rl wants to merge 1 commit into
Jayy4rl wants to merge 1 commit into
Conversation
…endTransaction status Closes LabsCrypt#1159 — add contracts/rust-toolchain.toml pinning channel to 1.85.0 (targets + components moved from the floating CI step so WASM hashes are reproducible across builds). Closes LabsCrypt#1160 — replace from-source `cargo install cargo-tarpaulin` with taiki-e/install-action (pre-built binary, no compile step) and upload cobertura.xml as a CI artifact instead of discarding it. Closes LabsCrypt#1161 — add `cargo check` in contracts/fuzz so all five fuzz targets are compiled on every push/PR; also extend Swatinem/rust-cache to cover the fuzz workspace so the check stays fast. Closes LabsCrypt#1164 — inspect sendResult.status immediately after sendTransaction; return early with the status (and log the errorResult XDR) when the network returns ERROR or TRY_AGAIN_LATER instead of polling a doomed hash for ~30 s.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…endTransaction status
Closes #1159 — add contracts/rust-toolchain.toml pinning channel to 1.85.0 (targets + components moved from the floating CI step so WASM hashes are reproducible across builds).
Closes #1160 — replace from-source
cargo install cargo-tarpaulinwith taiki-e/install-action (pre-built binary, no compile step) and upload cobertura.xml as a CI artifact instead of discarding it.Closes #1161 — add
cargo checkin contracts/fuzz so all five fuzz targets are compiled on every push/PR; also extend Swatinem/rust-cache to cover the fuzz workspace so the check stays fast.Closes #1164 — inspect sendResult.status immediately after sendTransaction; return early with the status (and log the errorResult XDR) when the network returns ERROR or TRY_AGAIN_LATER instead of polling a doomed hash for ~30 s.
Pull Request Checklist
Please ensure your PR follows these steps, mirroring our
CONTRIBUTING.mdguidelines.CONTRIBUTING.mddocument.