Skip to content
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

Adapt to IC Backend #11

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Adapt to IC Backend #11

wants to merge 11 commits into from

Conversation

iljabvh
Copy link
Collaborator

@iljabvh iljabvh commented Oct 20, 2023

This PR adapts the canister to the perun-icp-backend repository. It also updates the scripts to build and test the main functionality of the canister.

iljabvh and others added 10 commits March 25, 2023 21:50
…re convenient to process off-chain using timestamps. Events are now output as a stream in a String, making it easier to decode off-chain.
run_happy_walkthrough.sh update functionality to
start the replica and run the walkthrough test. Use
identities from the /userdata folder. In build.sh we
removed the dependency on deprecated ic-cdk-
optimizer. Use ic-wasm shrink instead.
The file icp_perun.did has also changed due to the new encoding.

lib.rs, test.rs, tests.rs, types.rs: Adjust types and tests
to support encoding used in the perun-icp-backend
repository. The event handling has changed
accordingly.
To still use the original tests in the rust-candid encoding, we have renamed and changed the
deposit, conclude, withdraw methods.
In the backend, we use simple serialization encoding.
All methods apart from the ones used in the tests
are adapted to that.

README.md: Update repository state, include
information on perun-icp-backend.
@iljabvh iljabvh requested a review from RmbRT October 20, 2023 10:46
@iljabvh iljabvh force-pushed the adapt-to-perun-channels branch 3 times, most recently from ad14dd4 to 8a97a64 Compare October 20, 2023 14:27
@iljabvh iljabvh marked this pull request as draft October 20, 2023 14:29
@iljabvh iljabvh force-pushed the adapt-to-perun-channels branch 2 times, most recently from 4e343a6 to 84fe588 Compare October 20, 2023 15:03
@iljabvh iljabvh force-pushed the adapt-to-perun-channels branch from 84fe588 to 401e700 Compare October 20, 2023 15:20
@iljabvh iljabvh marked this pull request as ready for review October 20, 2023 15:28
@iljabvh iljabvh self-assigned this Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant