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 gas price to artifact #1210

Merged
merged 19 commits into from
Oct 27, 2024
Merged

add gas price to artifact #1210

merged 19 commits into from
Oct 27, 2024

Conversation

Jim8y
Copy link
Contributor

@Jim8y Jim8y commented Oct 22, 2024

this pr adds the gas price to the artifact, such that we can easily check the optimization detail in git diff.

Copy link
Member

@shargon shargon left a comment

Choose a reason for hiding this comment

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

# Conflicts:
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Array.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_ComplexAssign.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Enum.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Foreach.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Linq.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Record.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Recursion.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Reentrancy.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Returns.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Stack.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Syscall_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Tuple.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17ContractTemplate.artifacts.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/OwnableTemplate.artifacts.cs
# Conflicts:
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Array.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_ComplexAssign.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Enum.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Foreach.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Linq.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Record.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Recursion.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Reentrancy.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Returns.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Stack.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Syscall_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Tuple.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17ContractTemplate.artifacts.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/OwnableTemplate.artifacts.cs
# Conflicts:
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Array.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_ComplexAssign.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Enum.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Foreach.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Linq.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Record.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Recursion.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Reentrancy.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Returns.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Stack.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Syscall_Out.cs
#	tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Tuple.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17ContractTemplate.artifacts.cs
#	tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/OwnableTemplate.artifacts.cs
@Jim8y
Copy link
Contributor Author

Jim8y commented Oct 25, 2024

@shargon fixed. the reason of that is because the only difference between old artifact and new artifact is now many space are there, while the comparison actually will ignore space.... thus it will not be updated.

@Jim8y Jim8y requested a review from shargon October 25, 2024 16:11
@Jim8y Jim8y merged commit 91ea645 into neo-project:master Oct 27, 2024
3 checks passed
@Jim8y Jim8y deleted the artifact-gas branch October 27, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants