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

Modify datastore_manipulation test to add prefix to getKeys and getKeysOf #32

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

litchipi
Copy link
Contributor

@litchipi litchipi commented Mar 9, 2023

Following the implementation of massalabs/massa-as-sdk#163

Create tests for massalabs/massa#3640

@litchipi litchipi requested review from AurelienFT and sydhds March 9, 2023 15:59
@litchipi
Copy link
Contributor Author

@sydhds Could you review this PR so I can merge it and create the release, it is currently blocking the merge of massalabs/massa#3640

Signed-off-by: Litchi Pi <litchi.pi@proton.me>
@litchipi litchipi force-pushed the tim/get_keys_prefix branch from b29ed59 to f6fca2f Compare March 29, 2023 11:18
@@ -7,28 +7,44 @@
* which is ready to be send on Massa network node!
**/

import { Storage, getKeys, getKeysOf, generateEvent, Context, print } from "@massalabs/massa-as-sdk";
import {Storage, getKeys, getKeysOf, generateEvent, Context, print} from "@massalabs/massa-as-sdk";

export function main(_args: string): void {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would recommend writing a second test and keep this one as simple as possible :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Separated the test in two halfs with a comment in between, tell me if that's OK for you

Signed-off-by: Litchi Pi <litchi.pi@proton.me>
@litchipi litchipi merged commit b139ec7 into main Mar 30, 2023
@bilboquet bilboquet deleted the tim/get_keys_prefix branch March 25, 2024 10:58
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