diff --git a/build/params_2k.go b/build/params_2k.go index f822d701e..6b8bf04f2 100644 --- a/build/params_2k.go +++ b/build/params_2k.go @@ -21,6 +21,7 @@ const GenesisFile = "" var NetworkBundle = "devnet" var BundleOverrides map[actorstypes.Version]string +var ActorDebugging = true const GenesisNetworkVersion = network.Version18 diff --git a/build/params_butterfly.go b/build/params_butterfly.go index 6f0a64598..a4ec220ae 100644 --- a/build/params_butterfly.go +++ b/build/params_butterfly.go @@ -23,6 +23,7 @@ const GenesisNetworkVersion = network.Version16 var NetworkBundle = "butterflynet" var BundleOverrides map[actorstypes.Version]string +var ActorDebugging = false const BootstrappersFile = "butterflynet.pi" const GenesisFile = "butterflynet.car" diff --git a/build/params_calibnet.go b/build/params_calibnet.go index f1aacc506..2c1fd80b4 100644 --- a/build/params_calibnet.go +++ b/build/params_calibnet.go @@ -26,6 +26,7 @@ const GenesisNetworkVersion = network.Version0 var NetworkBundle = "calibrationnet" var BundleOverrides map[actorstypes.Version]string +var ActorDebugging = false const BootstrappersFile = "calibnet.pi" const GenesisFile = "calibnet.car" diff --git a/build/params_interop.go b/build/params_interop.go index dbc619e1b..e111a461d 100644 --- a/build/params_interop.go +++ b/build/params_interop.go @@ -20,6 +20,7 @@ import ( var NetworkBundle = "caterpillarnet" var BundleOverrides map[actorstypes.Version]string +var ActorDebugging = false const BootstrappersFile = "interopnet.pi" const GenesisFile = "interopnet.car" diff --git a/build/params_mainnet.go b/build/params_mainnet.go index e2320c3c9..c94162b26 100644 --- a/build/params_mainnet.go +++ b/build/params_mainnet.go @@ -25,6 +25,9 @@ var NetworkBundle = "mainnet" // NOTE: DO NOT change this unless you REALLY know what you're doing. This is consensus critical. var BundleOverrides map[actorstypes.Version]string +// NOTE: DO NOT change this unless you REALLY know what you're doing. This is consensus critical. +const ActorDebugging = false + const GenesisNetworkVersion = network.Version0 const BootstrappersFile = "mainnet.pi" diff --git a/build/params_testground.go b/build/params_testground.go index dcdee888d..db8d47919 100644 --- a/build/params_testground.go +++ b/build/params_testground.go @@ -116,6 +116,7 @@ var ( GenesisNetworkVersion = network.Version0 NetworkBundle = "devnet" BundleOverrides map[actorstypes.Version]string + ActorDebugging = true NewestNetworkVersion = network.Version16 ActorUpgradeNetworkVersion = network.Version16 diff --git a/build/params_wallaby.go b/build/params_wallaby.go index 8eca3186f..96ce9fe51 100644 --- a/build/params_wallaby.go +++ b/build/params_wallaby.go @@ -17,6 +17,7 @@ import ( var NetworkBundle = "wallaby" var BundleOverrides map[actors.Version]string +var ActorDebugging = true const BootstrappersFile = "wallabynet.pi" const GenesisFile = "wallabynet.car" diff --git a/chain/vm/fvm.go b/chain/vm/fvm.go index 440470761..4c34021f7 100644 --- a/chain/vm/fvm.go +++ b/chain/vm/fvm.go @@ -303,6 +303,7 @@ func defaultFVMOpts(ctx context.Context, opts *VMOpts) (*ffi.FVMOpts, error) { NetworkVersion: opts.NetworkVersion, StateBase: opts.StateBase, Tracing: opts.Tracing || EnableDetailedTracing, + Debug: build.ActorDebugging, }, nil }