Skip to content

Commit 7a1e0fe

Browse files
committed
fix wrong variable usages in tests
1 parent e494979 commit 7a1e0fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bridges/ethKc/steps/ethToKc/step03SignProposedTransfer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func TestExecuteSignProposedTransferStep(t *testing.T) {
183183
expectedStepIdentifier := core.StepIdentifier(SigningProposedTransferOnKc)
184184
assert.Equal(t, expectedStepIdentifier, step.Identifier())
185185
// Test IsInterfaceNil
186-
assert.NotNil(t, step.IsInterfaceNil())
186+
assert.False(t, step.IsInterfaceNil())
187187

188188
expectedStepIdentifier = WaitingForQuorum
189189
stepIdentifier := step.Execute(context.Background())

bridges/ethKc/steps/kcToEth/step08SignProposedSetStatus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (step *signProposedSetStatusStep) Execute(ctx context.Context) core.StepIde
2828
}
2929
if actionID == ethKc.InvalidActionID {
3030
step.bridge.PrintInfo(logger.LogError, "contract error, got invalid action ID",
31-
"batch ID", storedBatch.ID, "error", err, "action ID", actionID)
31+
"batch ID", storedBatch.ID, "action ID", actionID)
3232
return GettingPendingBatchFromKc
3333
}
3434

config/tomlConfigs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ func TestMigrationToolConfig(t *testing.T) {
536536
GasPriceSelector = "SafeGasPrice" # selector used to provide the gas price
537537
538538
[Klever]
539-
NetworkAddress = "https://api.devnet.klever.finance/" # the network address
539+
NetworkAddress = "https://api.devnet.klever.finance" # the network address
540540
MultisigContractAddress = "klv1qqqqqqqqqqqqqpgqh46r9zh78lry2py8tq723fpjdr4pp0zgsg8syf6mq0" # the kc address for the bridge contract
541541
SafeContractAddress = "klv1qqqqqqqqqqqqqpgqxjgmvqe9kvvr4xvvxflue3a7cjjeyvx9sg8snh0ljc" # the kc address for the safe contract
542542
[Klever.Proxy]

integrationTests/relayers/slowTests/refundWithChainSimulator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func TestRelayersShouldExecuteTransfersWithRefund(t *testing.T) {
9696
memeToken := GenerateTestMEMEToken()
9797
memeToken.TestOperations[2].KlvSCCallData = nil
9898
memeToken.TestOperations[2].KlvFaultySCCall = true
99-
usdcToken.TestOperations[2].KlvForceSCCall = true
99+
memeToken.TestOperations[2].KlvForceSCCall = true
100100

101101
testRelayersWithChainSimulatorAndTokensAndRefund(
102102
t,

0 commit comments

Comments
 (0)