-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add version locked kairos deposit contract and contract client. #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the DS_Store file should not be part of the git history moreover commiting a DS_Store file should never be done in the first place. I would suggest you configure your git accordingly and rewrite history
0934d92
to
8736ecb
Compare
You can drop the sign commit b8ed071 |
There is still a top-level DS_Store |
I'll have to check where it comes from and get rid of it. |
new file: .github/workflows/pre-check.yml
modified: .github/workflows/check.yml
new file: kairos-deposit-contract/.DS_Store modified: Cargo.lock modified: Cargo.toml new file: kairos-contract-cli/Cargo.lock new file: kairos-contract-cli/Cargo.toml new file: kairos-contract-cli/src/cli.rs new file: kairos-contract-cli/src/deployments.rs new file: kairos-contract-cli/src/deployments/call_create_purse.rs new file: kairos-contract-cli/src/deployments/call_incr_counter.rs new file: kairos-contract-cli/src/deployments/deploy_handler.rs new file: kairos-contract-cli/src/deployments/get_counter.rs new file: kairos-contract-cli/src/deployments/get_deposit_event.rs new file: kairos-contract-cli/src/deployments/put_deposit_session.rs new file: kairos-contract-cli/src/deployments/put_withdrawal_session.rs new file: kairos-contract-cli/src/lib.rs new file: kairos-contract-cli/src/main.rs new file: kairos-deposit-contract/build-macos-darwin-feat-2.0.sh new file: kairos-deposit-contract/build-ubuntu-feat-2.0.sh new file: kairos-deposit-contract/contract-types/Cargo.lock new file: kairos-deposit-contract/contract-types/Cargo.toml new file: kairos-deposit-contract/contract-types/src/lib.rs new file: kairos-deposit-contract/contract/.cargo/config.toml new file: kairos-deposit-contract/contract/Cargo.lock new file: kairos-deposit-contract/contract/Cargo.toml new file: kairos-deposit-contract/contract/src/address.rs new file: kairos-deposit-contract/contract/src/constants.rs new file: kairos-deposit-contract/contract/src/detail.rs new file: kairos-deposit-contract/contract/src/error.rs new file: kairos-deposit-contract/contract/src/main.rs new file: kairos-deposit-contract/deposit-session/Cargo.lock new file: kairos-deposit-contract/deposit-session/Cargo.toml new file: kairos-deposit-contract/deposit-session/src/main.rs new file: kairos-deposit-contract/malicious-reader/Cargo.lock new file: kairos-deposit-contract/malicious-reader/Cargo.toml new file: kairos-deposit-contract/malicious-reader/src/main.rs new file: kairos-deposit-contract/malicious-session/Cargo.lock new file: kairos-deposit-contract/malicious-session/Cargo.toml new file: kairos-deposit-contract/malicious-session/src/main.rs new file: kairos-deposit-contract/readme.md new file: kairos-deposit-contract/rust-toolchain.toml new file: kairos-deposit-contract/tests/Cargo.lock new file: kairos-deposit-contract/tests/Cargo.toml new file: kairos-deposit-contract/tests/rust-toolchain.toml new file: kairos-deposit-contract/tests/src/integration_tests.rs new file: kairos-deposit-contract/tests/src/test_fixture.rs new file: kairos-deposit-contract/tests/src/test_fixture/utils.rs new file: kairos-deposit-contract/withdrawal-session/Cargo.lock new file: kairos-deposit-contract/withdrawal-session/Cargo.toml new file: kairos-deposit-contract/withdrawal-session/src/main.rs
…ts and version lock casper-node and casper-client-rs dependencies. modified: Cargo.lock modified: kairos-deposit-contract/build-macos-darwin-feat-2.0.sh modified: kairos-deposit-contract/build-ubuntu-feat-2.0.sh modified: kairos-deposit-contract/contract-types/Cargo.toml modified: kairos-deposit-contract/contract/Cargo.toml modified: kairos-deposit-contract/deposit-session/Cargo.toml modified: kairos-deposit-contract/malicious-reader/Cargo.toml modified: kairos-deposit-contract/malicious-session/Cargo.toml modified: kairos-deposit-contract/tests/Cargo.toml modified: kairos-deposit-contract/withdrawal-session/Cargo.toml modified: Cargo.lock modified: kairos-deposit-contract/build-macos-darwin-feat-2.0.sh modified: kairos-deposit-contract/build-ubuntu-feat-2.0.sh modified: kairos-deposit-contract/contract-types/Cargo.toml modified: kairos-deposit-contract/contract/Cargo.toml modified: kairos-deposit-contract/deposit-session/Cargo.toml modified: kairos-deposit-contract/malicious-reader/Cargo.toml modified: kairos-deposit-contract/malicious-session/Cargo.toml modified: kairos-deposit-contract/tests/Cargo.toml modified: kairos-deposit-contract/withdrawal-session/Cargo.toml
modified: kairos-deposit-contract/readme.md modified: kairos-deposit-contract/readme.md
modified: kairos-contract-cli/Cargo.toml modified: kairos-contract-cli/Cargo.toml
new file: .DS_Store modified: Cargo.lock modified: kairos-deposit-contract/build-macos-darwin-feat-2.0.sh modified: kairos-deposit-contract/build-ubuntu-feat-2.0.sh modified: Cargo.lock modified: kairos-deposit-contract/build-macos-darwin-feat-2.0.sh modified: kairos-deposit-contract/build-ubuntu-feat-2.0.sh
modified: Cargo.lock modified: kairos-contract-cli/Cargo.toml modified: Cargo.lock modified: kairos-contract-cli/Cargo.toml
8736ecb
to
45b6018
Compare
See kairos-deposit-contract/readme.md for instructions on how to compile the .wasm binaries and run the tests against the execution engine. All dependencies on casper-node (including casper-types and the EE) are version locked to jonas089/casper-node --rev "0bcc25f4a203be4e78eed679b54127ab1ed848ab"
The kairos-contract-cli can be used as a binary or library to
The deposit contract stores deposit events in a dictionary, withdrawal events are not stored (yet).