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

feat(node+server): query proposals #963

Merged
merged 39 commits into from
Nov 14, 2024
Merged

Conversation

frdomovic
Copy link
Member

@frdomovic frdomovic commented Nov 12, 2024

feat(node+server): query proposals

Summary:

Updated logic for querying proposal data and setup logic functions in contract manager to connect with admin api calls.
Also updated blockchain app logic so it returns proposal id when creating a new proposal

@frdomovic frdomovic changed the title WIP feat(node+server): query proposals feat(node+server): query proposals Nov 13, 2024
@frdomovic frdomovic marked this pull request as ready for review November 13, 2024 11:50
@frdomovic frdomovic self-assigned this Nov 13, 2024
Comment on lines +62 to +69
println!("{:#?}", proposal);
}
}
}

impl Report for GetProposalResponse {
fn report(&self) {
println!("{:#?}", self.data.report());
println!("{:#?}", self.data);
Copy link
Member

Choose a reason for hiding this comment

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

should we remove Report impl for Proposal then?

@alenmestrov alenmestrov enabled auto-merge (squash) November 14, 2024 16:17
@alenmestrov alenmestrov merged commit 6816c45 into master Nov 14, 2024
15 of 17 checks passed
@alenmestrov alenmestrov deleted the feat-proxy-query-methods branch November 14, 2024 17:11
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