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

test(e2e): add test cases for dynamic data #1098

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

alvrs
Copy link
Member

@alvrs alvrs commented Jul 3, 2023

  • adds more test data, including dynamic data

@alvrs alvrs requested a review from holic as a code owner July 3, 2023 15:29
@changeset-bot
Copy link

changeset-bot bot commented Jul 3, 2023

⚠️ No Changeset found

Latest commit: a46fe53

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

: undefined
) as EncodedData<typeof testData>;
}

function abiTypeArrayToSchema(abiTypes: SchemaAbiType[]): Schema {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
function abiTypeArrayToSchema(abiTypes: SchemaAbiType[]): Schema {
function abiTypesToSchema(abiTypes: SchemaAbiType[]): Schema {

else staticFields.push(abiType);
}
return { staticFields, dynamicFields };
}
Copy link
Member

Choose a reason for hiding this comment

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

this could be useful to have in protocol-parser

@alvrs alvrs force-pushed the alvrs/e2e-testcases branch from 9346c1b to fcb84ac Compare July 3, 2023 16:06
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from 225b5db to 2ec91c5 Compare July 3, 2023 16:06
@alvrs alvrs force-pushed the alvrs/e2e-testcases branch from fcb84ac to 96869f4 Compare July 3, 2023 17:35
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from 2ec91c5 to 7bb422e Compare July 3, 2023 17:35
@alvrs alvrs force-pushed the alvrs/e2e-testcases branch from 96869f4 to 3631c5c Compare July 3, 2023 17:43
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from 7bb422e to 58a757b Compare July 3, 2023 17:43
@alvrs alvrs changed the base branch from alvrs/e2e-testcases to alvrs/abi-types-to-schema July 3, 2023 19:27
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from 30c100d to 435c03f Compare July 3, 2023 19:27
@alvrs alvrs force-pushed the alvrs/abi-types-to-schema branch from 61c8bb7 to 9342865 Compare July 3, 2023 19:32
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from 435c03f to 7f9ff12 Compare July 3, 2023 19:32
@alvrs alvrs force-pushed the alvrs/abi-types-to-schema branch from 1719618 to 0269bf5 Compare July 5, 2023 22:55
@alvrs alvrs force-pushed the alvrs/e2e-testcases-dynamics branch from e3cb97a to a46fe53 Compare July 5, 2023 22:55
Base automatically changed from alvrs/abi-types-to-schema to main July 5, 2023 22:59
@dk1a dk1a mentioned this pull request Jul 10, 2023
47 tasks
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