Skip to content

native: make management compatible with C# node 3.5.0#2837

Merged
roman-khimov merged 1 commit intomasterfrom
350-compat
Dec 7, 2022
Merged

native: make management compatible with C# node 3.5.0#2837
roman-khimov merged 1 commit intomasterfrom
350-compat

Conversation

@roman-khimov
Copy link
Member

It doesn't store id->hash mappings for native contracts. We need blockchain's GetContractScriptHash to serve both anyway, so it was changed a bit. The only other direct user of native.GetContractScriptHash is the VM CLI, but I doubt anyone will use it for native contracts (they have ~zero VM code anyway).

It doesn't store id->hash mappings for native contracts. We need blockchain's
GetContractScriptHash to serve both anyway, so it was changed a bit. The only
other direct user of native.GetContractScriptHash is the VM CLI, but I doubt
anyone will use it for native contracts (they have ~zero VM code anyway).
@roman-khimov roman-khimov added the bug Something isn't working label Dec 7, 2022
@roman-khimov roman-khimov added this to the v0.100.0 milestone Dec 7, 2022
@roman-khimov roman-khimov merged commit c4d519f into master Dec 7, 2022
@roman-khimov roman-khimov deleted the 350-compat branch December 7, 2022 13:19
roman-khimov added a commit to roman-khimov/neo that referenced this pull request Dec 7, 2022
This is an omission of neo-project#2807, even though native hashes are well-known
GetContractById better be symmetric for all contracts. Related to
nspcc-dev/neo-go#2837.
roman-khimov added a commit to roman-khimov/neo that referenced this pull request Dec 7, 2022
This is an omission of neo-project#2807, even though native hashes are well-known
GetContractById better be symmetric for all contracts. Related to
nspcc-dev/neo-go#2837.
shargon added a commit to neo-project/neo that referenced this pull request Jan 7, 2023
This is an omission of #2807, even though native hashes are well-known
GetContractById better be symmetric for all contracts. Related to
nspcc-dev/neo-go#2837.

Co-authored-by: Shargon <shargon@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants