chore: update TNT Core examples and bytecode #52
Merged
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-bytecode
package and Solidity contract examples, as well as some formatting improvements in test files. The most important changes include upgrading the version of thetnt-core-bytecode
package, updating the Solidity version for a contract, and modifying contract mappings and function parameters to use specific types from theServiceOperators
library.Package Updates:
bytecode/Cargo.toml
: Updated the package version from0.1.0
to0.2.0
.Solidity Contract Updates:
examples/IncredibleSquaringBlueprint.sol
: Updated the Solidity version from^0.8.19
to^0.8.20
.examples/IncredibleSquaringBlueprint.sol
: Modified mappings and function parameters to useServiceOperators.OperatorPreferences
andServiceOperators.RequestParams
types. [1] [2]Test File Formatting:
test/AssetsLib.t.sol
: ReformattedAssets.Asset
initialization 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