Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:
- name: cargo test
run: cargo test --all --all-features

- name: build examples
run: |
cd examples
./build.sh

- name: Diff
run: |
git diff
git status
changed_files=$(git status --porcelain --untracked-files=no | wc -l)
if [ $changed_files -gt 0 ]; then
echo 'contract changed, please rebuild contract'
exit 1
fi

lint:
name: Format
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/target
Cargo.lock
near-plugins/tests/contracts/*/target
examples/target
.DS_Store

# Ignore IDE data
.vscode/
Expand Down
Binary file added examples/res/access_controllable_base.wasm
Binary file not shown.
Binary file added examples/res/full_access_key_fallback_base.wasm
Binary file not shown.
Binary file added examples/res/ownable_base.wasm
Binary file not shown.
Binary file added examples/res/ownable_change_storage_key.wasm
Binary file not shown.
Binary file added examples/res/ownable_cross_call.wasm
Binary file not shown.
Binary file added examples/res/pausable_base.wasm
Binary file not shown.
Binary file added examples/res/upgradable_base.wasm
Binary file not shown.
Binary file added examples/res/upgradable_base_second.wasm
Binary file not shown.