Skip to content

PLEX-250 - WriteReport initial implementation #1264

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

Merged
merged 12 commits into from
Jun 26, 2025
Merged

PLEX-250 - WriteReport initial implementation #1264

merged 12 commits into from
Jun 26, 2025

Conversation

pablolagreca
Copy link
Collaborator

@pablolagreca pablolagreca commented Jun 13, 2025

@pablolagreca pablolagreca force-pushed the PLEX-250 branch 2 times, most recently from b35bb06 to 1b825fd Compare June 17, 2025 13:09
@pablolagreca pablolagreca marked this pull request as ready for review June 17, 2025 13:11
@pablolagreca pablolagreca requested review from a team as code owners June 17, 2025 13:11
@pablolagreca pablolagreca requested a review from Atrax1 June 17, 2025 13:11
dhaidashenko
dhaidashenko previously approved these changes Jun 26, 2025
Comment on lines +129 to +134
// Transaction processing failed due to a network issue, RPC issue, or other fatal error
TxFatal TransactionStatus = iota
// Transaction was sent successfully to the chain but the smart contract execution reverted
TxReverted
// Transaction was sent successfully to the chain, smart contract executed successfully and mined into a block.
TxSuccess
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm still confused about pending. It is not always reasonable to wait until a tx is mined, so what do we return when a tx is pending?

Separately, is "mined" the right threshold? As a user of this API, will I be able to wait for finalization?


}

message SignedReport {
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI @ettec

@@ -108,3 +114,51 @@ type Head struct {
type TransactionFee struct {
TransactionFee *big.Int // Cost of transaction in wei
}

type SignedReport struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this used? We already have a proto, why do we need a Go struct as well?

@bolekk bolekk merged commit d07b85c into main Jun 26, 2025
14 of 17 checks passed
@bolekk bolekk deleted the PLEX-250 branch June 26, 2025 23:49
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.

6 participants