Skip to content

Commit 339e083

Browse files
encodyJacob
andauthored
feat: optimize contract
* chore: remove #[near_bindgen] blocks and near-sdk-contract-tools dependency * chore: tests & some fixes * fix: revert toolchain version change and switch to updated workspaces dependency (v0.8.0) * fix: leaner and cleaner; don't parse unnecessarily * feat: makefile target for testing contract * fix: borsh version and gas tests * chore: update Cargo.lock for borsh version 0.10.3 * fix: clippy * fix: build contracts before running tests * chore: da-rpc uses Borsh serialization for submitting & reading blobs * fix: temporarily ignore failing test until integration tests --------- Co-authored-by: Jacob <[email protected]>
1 parent c3ccbd6 commit 339e083

File tree

11 files changed

+1124
-155
lines changed

11 files changed

+1124
-155
lines changed

.github/workflows/on_pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
- uses: Swatinem/rust-cache@v2
3838
- name: "Install cargo-nextest"
3939
run: cargo install cargo-nextest
40+
- name: "Build contracts"
41+
run: make build-contracts
4042
- name: "Run tests"
4143
run: TEST_NEAR_ACCOUNT=${{ secrets.TEST_NEAR_ACCOUNT }} TEST_NEAR_SECRET=${{ secrets.TEST_NEAR_SECRET }} cargo nextest run --workspace --locked
4244
# Nice to have, turned off for now

0 commit comments

Comments
 (0)