chore: update TNT Core examples and bytecode#52
Merged
Conversation
09a3974 to
ff7dda9
Compare
LCOV of commit
|
Contributor
Author
|
@Tjemmmic Do you have access to the bytecode crate? can you also add me so I can publish it to crates.io? @drewstone I do not have access to soldeer, since you have published tnt-core v 0.1.0, could you pump it to v0.2.0 on soldeer too? |
drewstone
approved these changes
Jan 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the
tnt-core-bytecodepackage and Solidity contract examples, as well as some formatting improvements in test files. The most important changes include upgrading the version of thetnt-core-bytecodepackage, updating the Solidity version for a contract, and modifying contract mappings and function parameters to use specific types from theServiceOperatorslibrary.Package Updates:
bytecode/Cargo.toml: Updated the package version from0.1.0to0.2.0.Solidity Contract Updates:
examples/IncredibleSquaringBlueprint.sol: Updated the Solidity version from^0.8.19to^0.8.20.examples/IncredibleSquaringBlueprint.sol: Modified mappings and function parameters to useServiceOperators.OperatorPreferencesandServiceOperators.RequestParamstypes. [1] [2]Test File Formatting:
test/AssetsLib.t.sol: ReformattedAssets.Assetinitialization to a more compact style. [1] [2] [3]test/ServiceOperatorsLib.t.sol: Reformatted initialization of constants and structs to a more compact style. [1] [2] [3] [4] [5]Closes #51
Closes #48