mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
parent
5b45a4ca8d
commit
df07ba505a
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
ProtocolConfiguration:
|
ProtocolConfiguration:
|
||||||
Magic: 5195086
|
Magic: 860833102
|
||||||
MaxTraceableBlocks: 2102400
|
MaxTraceableBlocks: 2102400
|
||||||
InitialGASSupply: 52000000
|
InitialGASSupply: 52000000
|
||||||
SecondsPerBlock: 15
|
SecondsPerBlock: 15
|
||||||
|
|
|
@ -4,7 +4,7 @@ import "strconv"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// MainNet contains magic code used in the NEO main official network.
|
// MainNet contains magic code used in the NEO main official network.
|
||||||
MainNet Magic = 0x004f454e // 5195086
|
MainNet Magic = 0x334f454e // NEO3
|
||||||
// TestNet contains magic code used in the NEO testing network.
|
// TestNet contains magic code used in the NEO testing network.
|
||||||
TestNet Magic = 0x3454334e // N3T4
|
TestNet Magic = 0x3454334e // N3T4
|
||||||
// PrivNet contains magic code usually used for NEO private networks.
|
// PrivNet contains magic code usually used for NEO private networks.
|
||||||
|
|
|
@ -46,7 +46,7 @@ func TestRuntimeGetRandomCompatibility(t *testing.T) {
|
||||||
b := getSharpTestGenesis(t)
|
b := getSharpTestGenesis(t)
|
||||||
tx := getSharpTestTx(util.Uint160{})
|
tx := getSharpTestTx(util.Uint160{})
|
||||||
ic := bc.newInteropContext(trigger.Application, dao.NewCached(bc.dao), b, tx)
|
ic := bc.newInteropContext(trigger.Application, dao.NewCached(bc.dao), b, tx)
|
||||||
ic.Network = uint32(netmode.MainNet)
|
ic.Network = 5195086 // Old mainnet magic used by C# tests.
|
||||||
|
|
||||||
ic.VM = vm.New()
|
ic.VM = vm.New()
|
||||||
ic.VM.LoadScript([]byte{0x01})
|
ic.VM.LoadScript([]byte{0x01})
|
||||||
|
|
Loading…
Reference in a new issue