Commit 08a5b8c
authored
refactor: instantiate RPC server directly (#6846)
* refactor: use rpc server directly instead of running geth node
* refactor: run rpc server in connector service
* fix: force single API instance in connector service
* refactor: move start of time source
* refactor: remove rpc client router blocked methods
* feat: eth service
* fix: remove connector service welcomeServer
* fix: connector allow all origins
* fix: log rpc calls
* fix: use EthClient directly from connector and eth services
* chore: cleanup client and route
* test: set 1 as default ChainID
* test: connector forbidden method
* fix: TestForwardedRPCs
* test: fix rebase issues
* test: Implement ConnectorApiError
* fix: connector api result unmarshal
* fix: TestForwardedRPCs
* chore: address pr comments
* test: fix rebase issues1 parent 6a9481d commit 08a5b8c
File tree
41 files changed
+517
-1484
lines changed- api
- mobile
- node
- rpc
- params
- protocol/requests
- rpc
- services
- app-general
- connector
- ens
- eth
- wallet
- history
- router
- token
- transfer
- tests-functional
- clients
- tests
- transactions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+517
-1484
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
354 | 353 | | |
355 | 354 | | |
356 | 355 | | |
357 | | - | |
358 | | - | |
| 356 | + | |
| 357 | + | |
359 | 358 | | |
360 | 359 | | |
361 | | - | |
362 | 360 | | |
363 | 361 | | |
364 | 362 | | |
365 | 363 | | |
366 | 364 | | |
367 | 365 | | |
368 | | - | |
369 | | - | |
| 366 | + | |
| 367 | + | |
370 | 368 | | |
371 | 369 | | |
372 | | - | |
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
| |||
410 | 407 | | |
411 | 408 | | |
412 | 409 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | 410 | | |
456 | 411 | | |
457 | 412 | | |
458 | | - | |
459 | | - | |
| 413 | + | |
| 414 | + | |
460 | 415 | | |
461 | | - | |
462 | | - | |
| 416 | + | |
463 | 417 | | |
464 | | - | |
465 | | - | |
| 418 | + | |
| 419 | + | |
466 | 420 | | |
467 | | - | |
468 | | - | |
| 421 | + | |
469 | 422 | | |
470 | 423 | | |
471 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
1915 | 1910 | | |
1916 | 1911 | | |
1917 | 1912 | | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
1924 | | - | |
1925 | 1913 | | |
1926 | 1914 | | |
1927 | 1915 | | |
| |||
1950 | 1938 | | |
1951 | 1939 | | |
1952 | 1940 | | |
1953 | | - | |
1954 | | - | |
1955 | | - | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | 1941 | | |
1960 | 1942 | | |
1961 | 1943 | | |
| |||
2003 | 1985 | | |
2004 | 1986 | | |
2005 | 1987 | | |
2006 | | - | |
2007 | | - | |
2008 | | - | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
2014 | | - | |
2015 | | - | |
2016 | | - | |
2017 | | - | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
| 1988 | + | |
| 1989 | + | |
2021 | 1990 | | |
2022 | 1991 | | |
2023 | 1992 | | |
| |||
2123 | 2092 | | |
2124 | 2093 | | |
2125 | 2094 | | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | | - | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
2150 | | - | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | | - | |
2155 | | - | |
2156 | | - | |
2157 | | - | |
2158 | | - | |
2159 | | - | |
2160 | 2095 | | |
2161 | 2096 | | |
2162 | 2097 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 316 | + | |
321 | 317 | | |
322 | 318 | | |
| 319 | + | |
323 | 320 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
| 321 | + | |
334 | 322 | | |
335 | 323 | | |
336 | 324 | | |
| |||
0 commit comments