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

Poc easy polls #65

Merged
merged 50 commits into from
Sep 13, 2023
Merged

Poc easy polls #65

merged 50 commits into from
Sep 13, 2023

Conversation

sczembor
Copy link
Contributor

@sczembor sczembor commented Aug 8, 2023

No description provided.

Copy link
Contributor

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick review of the structs

contracts/easy-poll/Cargo.toml Outdated Show resolved Hide resolved
contracts/easy-poll/Cargo.toml Outdated Show resolved Hide resolved
contracts/easy-poll/README.md Outdated Show resolved Hide resolved
contracts/easy-poll/src/constants.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/constants.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/ext.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
@sczembor sczembor marked this pull request as ready for review August 11, 2023 17:05
@sczembor sczembor requested a review from a team as a code owner August 11, 2023 17:05
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@amityadav0 amityadav0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added few comments

contracts/easy-poll/src/ext.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Show resolved Hide resolved
contracts/easy-poll/src/storage.rs Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Show resolved Hide resolved
contracts/easy-poll/src/events.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/events.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/events.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/errors.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/errors.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/errors.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/errors.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We must not return whole Vector from the store. With many answers, it will kill the contract!

contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
contracts/easy-poll/src/lib.rs Outdated Show resolved Hide resolved
@sczembor sczembor merged commit d58c8ae into master Sep 13, 2023
3 checks passed
@sczembor sczembor deleted the poc_easy_polls branch September 13, 2023 12:36
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.

3 participants