-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rc/v1.7.0' into MX-15381-add-withKeys-on-api-address
- Loading branch information
Showing
20 changed files
with
374 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package disabled | ||
|
||
import ( | ||
"github.com/multiversx/mx-chain-core-go/data" | ||
"github.com/multiversx/mx-chain-core-go/data/block" | ||
"github.com/multiversx/mx-chain-go/epochStart" | ||
"github.com/multiversx/mx-chain-go/state" | ||
) | ||
|
||
type epochStartSystemSCProcessor struct { | ||
} | ||
|
||
// NewDisabledEpochStartSystemSC creates a new disabled EpochStartSystemSCProcessor instance | ||
func NewDisabledEpochStartSystemSC() *epochStartSystemSCProcessor { | ||
return &epochStartSystemSCProcessor{} | ||
} | ||
|
||
// ToggleUnStakeUnBond returns nil | ||
func (e *epochStartSystemSCProcessor) ToggleUnStakeUnBond(_ bool) error { | ||
return nil | ||
} | ||
|
||
// ProcessSystemSmartContract returns nil | ||
func (e *epochStartSystemSCProcessor) ProcessSystemSmartContract( | ||
_ state.ShardValidatorsInfoMapHandler, | ||
_ data.HeaderHandler, | ||
) error { | ||
return nil | ||
} | ||
|
||
// ProcessDelegationRewards returns nil | ||
func (e *epochStartSystemSCProcessor) ProcessDelegationRewards( | ||
_ block.MiniBlockSlice, | ||
_ epochStart.TransactionCacher, | ||
) error { | ||
return nil | ||
} | ||
|
||
// IsInterfaceNil returns true if there is no value under the interface | ||
func (e *epochStartSystemSCProcessor) IsInterfaceNil() bool { | ||
return e == nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.