@@ -53,7 +53,6 @@ const QUEUE_ACTIONS_MUTATION = gql`
53
53
transaction
54
54
failureReason
55
55
status
56
- protocolNetwork
57
56
}
58
57
}
59
58
`
@@ -74,7 +73,6 @@ const APPROVE_ACTIONS_MUTATION = gql`
74
73
transaction
75
74
failureReason
76
75
status
77
- protocolNetwork
78
76
}
79
77
}
80
78
`
@@ -95,7 +93,6 @@ const CANCEL_ACTIONS_MUTATION = gql`
95
93
transaction
96
94
failureReason
97
95
status
98
- protocolNetwork
99
96
}
100
97
}
101
98
`
@@ -116,7 +113,6 @@ const UPDATE_ACTIONS_MUTATION = gql`
116
113
transaction
117
114
failureReason
118
115
status
119
- protocolNetwork
120
116
}
121
117
}
122
118
`
@@ -141,7 +137,6 @@ const ACTIONS_QUERY = gql`
141
137
transaction
142
138
failureReason
143
139
status
144
- protocolNetwork
145
140
}
146
141
}
147
142
`
@@ -487,7 +482,6 @@ describe.skip('Actions', () => {
487
482
[ 'source' , 'String' ] ,
488
483
[ 'reason' , 'String' ] ,
489
484
[ 'priority' , 'Int' ] ,
490
- [ 'protocolNetwork' , 'String' ] ,
491
485
]
492
486
const graphQLErrors = expectedFieldNamesAndTypes . map (
493
487
( [ fieldName , fieldType ] ) =>
@@ -504,7 +498,7 @@ describe.skip('Actions', () => {
504
498
505
499
test ( 'Reject action with invalid params for action type' , async ( ) => {
506
500
const inputAction = invalidReallocateAction
507
- const expected = { ... inputAction , protocolNetwork : 'eip155:421614' }
501
+ const expected = inputAction
508
502
const fields = JSON . stringify ( expected )
509
503
await expect (
510
504
client . mutation ( QUEUE_ACTIONS_MUTATION , { actions : [ inputAction ] } ) . toPromise ( ) ,
@@ -715,6 +709,7 @@ describe.skip('Actions', () => {
715
709
priority : 0 ,
716
710
} as ActionInput
717
711
712
+ // models still store a protocolNetwork
718
713
await managementModels . Action . create (
719
714
{ ...failedAction , protocolNetwork : 'whatever' } ,
720
715
{
@@ -725,7 +720,7 @@ describe.skip('Actions', () => {
725
720
726
721
const result = await client
727
722
. mutation ( QUEUE_ACTIONS_MUTATION , {
728
- actions : [ { ... proposedAction , protocolNetwork : 'whatever' } ] ,
723
+ actions : [ proposedAction ] ,
729
724
} )
730
725
. toPromise ( )
731
726
@@ -760,8 +755,6 @@ describe.skip('Actions', () => {
760
755
source : 'indexerAgent' ,
761
756
reason : 'indexingRule' ,
762
757
priority : 0 ,
763
- // When writing directly to the database, `protocolNetwork` must be in the CAIP2-ID format.
764
- protocolNetwork : 'eip155:421614' ,
765
758
} as ActionInput
766
759
767
760
const proposedAction = {
@@ -772,9 +765,9 @@ describe.skip('Actions', () => {
772
765
source : 'indexerAgent' ,
773
766
reason : 'indexingRule' ,
774
767
priority : 0 ,
775
- protocolNetwork : 'arbitrum-sepolia' ,
776
768
} as ActionInput
777
769
770
+ // models still store a protocolNetwork
778
771
await managementModels . Action . create (
779
772
{ ...successfulAction , protocolNetwork : 'whatever' } ,
780
773
{
@@ -816,8 +809,6 @@ describe.skip('Actions', () => {
816
809
source : 'indexerAgent' ,
817
810
reason : 'indexingRule' ,
818
811
priority : 0 ,
819
- // When writing directly to the database, `protocolNetwork` must be in the CAIP2-ID format.
820
- protocolNetwork : 'eip155:421614' ,
821
812
} as ActionInput
822
813
823
814
const queuedAllocateAction = {
@@ -829,9 +820,9 @@ describe.skip('Actions', () => {
829
820
source : 'indexerAgent' ,
830
821
reason : 'indexingRule' ,
831
822
priority : 0 ,
832
- protocolNetwork : 'arbitrum-sepolia' ,
833
823
} as ActionInput
834
824
825
+ // models still store a protocolNetwork
835
826
await managementModels . Action . create (
836
827
{ ...queuedUnallocateAction , protocolNetwork : 'whatever' } ,
837
828
{
0 commit comments