Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
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
exchain
nebula
Commits
2d7ac0a2
Unverified
Commit
2d7ac0a2
authored
Nov 28, 2023
by
Ethen Pociask
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[indexer.withdrawal_type_supplies] rewire dbg to info
parent
ae5cc04f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
bridge_transfers_e2e_test.go
indexer/e2e_tests/bridge_transfers_e2e_test.go
+6
-6
setup.go
indexer/e2e_tests/setup.go
+2
-2
No files found.
indexer/e2e_tests/bridge_transfers_e2e_test.go
View file @
2d7ac0a2
...
...
@@ -460,7 +460,7 @@ func TestClientBridgeFunctions(t *testing.T) {
// (2) Create test actors that will deposit and withdraw using the standard bridge
aliceAddr
:=
testSuite
.
OpCfg
.
Secrets
.
Addresses
()
.
Alice
bobAddr
:=
testSuite
.
OpCfg
.
Secrets
.
Addresses
()
.
Bob
//
malAddr := testSuite.OpCfg.Secrets.Addresses().Mallory
malAddr
:=
testSuite
.
OpCfg
.
Secrets
.
Addresses
()
.
Mallory
type
actor
struct
{
addr
common
.
Address
...
...
@@ -482,11 +482,11 @@ func TestClientBridgeFunctions(t *testing.T) {
priv
:
testSuite
.
OpCfg
.
Secrets
.
Bob
,
amt
:
big
.
NewInt
(
0
),
},
//
{
//
addr: malAddr,
//
priv: testSuite.OpCfg.Secrets.Mallory,
//
amt: big.NewInt(0),
//
},
{
addr
:
malAddr
,
priv
:
testSuite
.
OpCfg
.
Secrets
.
Mallory
,
amt
:
big
.
NewInt
(
0
),
},
}
type
supplies
struct
{
...
...
indexer/e2e_tests/setup.go
View file @
2d7ac0a2
...
...
@@ -109,7 +109,7 @@ func createE2ETestSuite(t *testing.T) E2ETestSuite {
// the system is running, mark this test for Parallel execution
t
.
Parallel
()
indexerLog
:=
testlog
.
Logger
(
t
,
log
.
Lvl
Debug
)
.
New
(
"role"
,
"indexer"
)
indexerLog
:=
testlog
.
Logger
(
t
,
log
.
Lvl
Info
)
.
New
(
"role"
,
"indexer"
)
ix
,
err
:=
indexer
.
NewIndexer
(
context
.
Background
(),
indexerLog
,
indexerCfg
,
func
(
cause
error
)
{
if
cause
!=
nil
{
t
.
Fatalf
(
"indexer shut down with critical error: %v"
,
cause
)
...
...
@@ -123,7 +123,7 @@ func createE2ETestSuite(t *testing.T) E2ETestSuite {
require
.
NoError
(
t
,
ix
.
Stop
(
context
.
Background
()),
"cleanly shut down indexer"
)
})
apiLog
:=
testlog
.
Logger
(
t
,
log
.
Lvl
Debug
)
.
New
(
"role"
,
"indexer_api"
)
apiLog
:=
testlog
.
Logger
(
t
,
log
.
Lvl
Info
)
.
New
(
"role"
,
"indexer_api"
)
apiCfg
:=
&
api
.
Config
{
DB
:
&
api
.
TestDBConnector
{
BridgeTransfers
:
ix
.
DB
.
BridgeTransfers
},
// reuse the same DB
...
...
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