Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
6be54afd
Unverified
Commit
6be54afd
authored
Apr 21, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the integration test errors from upgrading ethers
parent
d1fad3c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
commands.js
cypress/support/commands.js
+4
-2
No files found.
cypress/support/commands.js
View file @
6be54afd
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
import
{
JsonRpcProvider
}
from
'
@ethersproject/providers
'
import
{
JsonRpcProvider
}
from
'
@ethersproject/providers
'
import
{
Wallet
}
from
'
@ethersproject/wallet
'
import
{
Wallet
}
from
'
@ethersproject/wallet
'
import
{
_
Eip1193Bridge
}
from
'
@ethersproject/experimental/lib/eip1193-bridge
'
import
{
Eip1193Bridge
}
from
'
@ethersproject/experimental/lib/eip1193-bridge
'
// never send real ether to this, obviously
// never send real ether to this, obviously
const
PRIVATE_KEY_TEST_NEVER_USE
=
'
0xad20c82497421e9784f18460ad2fe84f73569068e98e270b3e63743268af5763
'
const
PRIVATE_KEY_TEST_NEVER_USE
=
'
0xad20c82497421e9784f18460ad2fe84f73569068e98e270b3e63743268af5763
'
...
@@ -16,7 +16,9 @@ export const TEST_ADDRESS_NEVER_USE = '0x0fF2D1eFd7A57B7562b2bf27F3f37899dB27F4a
...
@@ -16,7 +16,9 @@ export const TEST_ADDRESS_NEVER_USE = '0x0fF2D1eFd7A57B7562b2bf27F3f37899dB27F4a
export
const
TEST_ADDRESS_NEVER_USE_SHORTENED
=
'
0x0fF2...F4a5
'
export
const
TEST_ADDRESS_NEVER_USE_SHORTENED
=
'
0x0fF2...F4a5
'
class
CustomizedBridge
extends
_Eip1193Bridge
{
class
CustomizedBridge
extends
Eip1193Bridge
{
chainId
=
4
async
sendAsync
(...
args
)
{
async
sendAsync
(...
args
)
{
console
.
debug
(
'
sendAsync called
'
,
...
args
)
console
.
debug
(
'
sendAsync called
'
,
...
args
)
return
this
.
send
(...
args
)
return
this
.
send
(...
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment