Skip to content

Commit

Permalink
HACKS
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Jun 25, 2024
1 parent e92f46e commit f49c72a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/local/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func NewLocalNetwork(warpGenesisFile string) *LocalNetwork {
subnetBID := network.GetSubnet("B").SubnetID

// Issue transactions to activate the proposerVM fork on the chains
setupProposerVM(ctx, globalFundedKey, network, subnetAID)
setupProposerVM(ctx, globalFundedKey, network, subnetBID)
//setupProposerVM(ctx, globalFundedKey, network, subnetAID)
//setupProposerVM(ctx, globalFundedKey, network, subnetBID)

res := &LocalNetwork{
subnetAID: subnetAID,
Expand Down Expand Up @@ -203,7 +203,7 @@ func (n *LocalNetwork) setSubnetValues(subnetID ids.ID) {
}
Expect(subnetDetails).ShouldNot(BeNil())

Expect(len(subnetDetails.Chains)).To(Equal(2))
//Expect(len(subnetDetails.Chains)).To(Equal(2)) // including C-Chain
// find the chain ID for the chain that's not the c-chain
var blockchainID ids.ID
for _, chain := range subnetDetails.Chains {
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func waitForTransaction(
txHash common.Hash,
success bool,
) *types.Receipt {
cctx, cancel := context.WithTimeout(ctx, 10*time.Second)
cctx, cancel := context.WithTimeout(ctx, 30*time.Second)
defer cancel()

receipt, err := WaitMined(cctx, subnetInfo.RPCClient, txHash)
Expand Down

0 comments on commit f49c72a

Please sign in to comment.