File tree Expand file tree Collapse file tree
typescript/ccip-server/src/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @hyperlane-xyz/ccip-server ' : patch
3+ ---
4+
5+ Switch Offchain Lookup Server to use raw message dispatch table
Original file line number Diff line number Diff line change @@ -66,19 +66,12 @@ class HyperlaneService {
6666
6767 const body = JSON . stringify ( {
6868 query : `query ($search: bytea) {
69- message_view (
69+ raw_message_dispatch (
7070 where: { msg_id: {_eq: $search} }
7171 limit: 1
7272 ) {
73- id
7473 msg_id
75- nonce
76- sender
77- recipient
78- is_delivered
79- origin_tx_id
8074 origin_tx_hash
81- origin_tx_sender
8275 }
8376 }` ,
8477 variables : {
@@ -111,7 +104,9 @@ class HyperlaneService {
111104 ) ;
112105 }
113106
114- const responseAsJson = ( await response . json ( ) ) [ 'data' ] [ 'message_view' ] ;
107+ const responseAsJson = ( await response . json ( ) ) [ 'data' ] [
108+ 'raw_message_dispatch'
109+ ] ;
115110
116111 if ( responseAsJson . length > 0 ) {
117112 const txHash = responseAsJson [ 0 ] ?. origin_tx_hash . replace ( '\\x' , '0x' ) ;
You can’t perform that action at this time.
0 commit comments