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

Add script to create and fill the track and trace contract with items #45

Merged
merged 7 commits into from
Feb 13, 2024

Conversation

DOBEN
Copy link
Member

@DOBEN DOBEN commented Jan 28, 2024

Purpose

A script to initialize a new track-and-trace contract and fill it with items. The status of the items will be updated by the script from Produced - > InTransit -> InStore -> Sold. This script helps to have the required contract with events that can be used to test the indexer (to be developed).

Changes

Add script to create a track-and-trace contract and fill the contract with data for the indexer.

@DOBEN DOBEN requested review from abizjak and Bargsteen January 28, 2024 10:20
trackAndTrace/scripts/README.md Outdated Show resolved Hide resolved
trackAndTrace/scripts/README.md Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/main.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/main.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/types.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/types.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/types.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/types.rs Outdated Show resolved Hide resolved
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch 2 times, most recently from ea30947 to d8d9589 Compare January 29, 2024 19:30
@DOBEN DOBEN requested a review from abizjak January 29, 2024 19:30
@DOBEN DOBEN changed the base branch from main to track-and-trace-smart-contract January 29, 2024 19:32
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch 2 times, most recently from 1152917 to 30aa561 Compare January 29, 2024 19:44
Copy link
Contributor

@Bargsteen Bargsteen left a comment

Choose a reason for hiding this comment

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

LGTM

trackAndTrace/scripts/src/main.rs Outdated Show resolved Hide resolved
trackAndTrace/scripts/README.md Outdated Show resolved Hide resolved
trackAndTrace/scripts/src/main.rs Outdated Show resolved Hide resolved
Base automatically changed from track-and-trace-smart-contract to main February 1, 2024 22:06
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch from 30aa561 to 526670f Compare February 2, 2024 09:51
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch from 6df5be6 to b14c20e Compare February 9, 2024 15:38
@abizjak abizjak self-requested a review February 13, 2024 07:31
trackAndTrace/test-scripts/src/main.rs Outdated Show resolved Hide resolved
trackAndTrace/test-scripts/src/main.rs Outdated Show resolved Hide resolved
trackAndTrace/test-scripts/src/main.rs Outdated Show resolved Hide resolved
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch from ec9f76c to 41789fa Compare February 13, 2024 16:10
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch from 41789fa to c6a5cb8 Compare February 13, 2024 16:13
@DOBEN DOBEN force-pushed the script-for-filling-track-and-trace-contract branch from c6a5cb8 to e89d30d Compare February 13, 2024 16:25
@DOBEN DOBEN merged commit abe286e into main Feb 13, 2024
40 checks passed
@DOBEN DOBEN deleted the script-for-filling-track-and-trace-contract branch February 13, 2024 16:30
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