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

Key changes to CropXYZ function calls and events #395

Merged

Conversation

ponyjackal
Copy link
Contributor

Resolve OU-2666
Resolve OU-2667

@ponyjackal ponyjackal requested a review from pcowgill July 1, 2024 17:50
@pcowgill
Copy link
Contributor

pcowgill commented Jul 1, 2024

@ponyjackal Could you take a look at the build failure?

category: 'PROTOCOL_1',
en: {
title: `Gold`,
default: '[[player]][[clearedHarvest]]plots[[plotId]]',
Copy link
Contributor

@pcowgill pcowgill Jul 1, 2024

Choose a reason for hiding this comment

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

We'll keep this like this for now, but an open question is whether we want to render the player given their non-trivial use of account abstraction, etc. When we fully support AA in this repo soon, we'll definitely include the right player.

Copy link
Contributor

@pcowgill pcowgill left a comment

Choose a reason for hiding this comment

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

Heading in the right direction! I requested a few changes in the comments.

@ponyjackal ponyjackal requested a review from pcowgill July 2, 2024 00:11
@pcowgill pcowgill changed the title Key changes to gold function calls and events Key changes to CropXYZ function calls and events Jul 2, 2024
// );
// expect(transaction2.context?.summaries?.en.title).toBe('CropXYZ');
// expect(contextSummary(transaction2.context)).toBe(
// '0x402533d5240A0c51e02d3714C0D0A057384D4872 HARVESTED_PLOT 257 0x9c82ca3332898bea9c9fa5f9642ba4a4628e1321',
Copy link
Contributor

@pcowgill pcowgill Jul 2, 2024

Choose a reason for hiding this comment

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

Suggested change
// '0x402533d5240A0c51e02d3714C0D0A057384D4872 HARVESTED_PLOT 257 0x9c82ca3332898bea9c9fa5f9642ba4a4628e1321',
// '0x402533d5240A0c51e02d3714C0D0A057384D4872 CLEARED_HARVEST',

@pcowgill pcowgill merged commit ff04594 into main Jul 2, 2024
2 checks passed
@pcowgill pcowgill deleted the feature/ou-2595-key-changes-to-gold-function-calls-and-events branch July 2, 2024 15:24
@pcowgill pcowgill mentioned this pull request Jul 2, 2024
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.

2 participants