Commit graph

14554 commits

Author SHA1 Message Date
Paul Wackerow
ca82a294d1
add transition on color mode toggle 2022-11-17 07:22:24 -08:00
Martin Holst Swende
c2e0abce2e
ethstats: set readlimit on ethstats server connection (#26207)
This prevents DoS when connected to a malicious ethstats server.
2022-11-17 15:33:03 +01:00
Martin Holst Swende
97c563e055
rpc, internal/guide: speed up tests a bit (#26193)
This removes an RPC test which takes > 90s to execute, and updates the
internal/guide tests to use lighter scrypt parameters.

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-17 15:30:53 +01:00
therainisme
722bb210bf
rlp: improve tests for Split functions (#26200)
This PR improves and extends the tests a bit
2022-11-17 14:19:03 +01:00
Joe
66f7497339 update grafana page 2022-11-17 11:07:27 +00:00
Felix Lange
12df45662a
all: remove remaining uses of untyped golang-lru (#26194) 2022-11-17 11:15:28 +01:00
Felix Lange
c3b42683b3
Dockerfile: upgrade to Go 1.19 (#26195) 2022-11-17 10:54:28 +01:00
Sina Mahmoodi
64067fbdc4
eth/tracers: small refactor for native tracers (#26196)
Use noopTracer as a base for other native tracers to avoid extra boilerplate for unimplemented hooks.
2022-11-17 09:27:48 +01:00
Paul Wackerow
629ed7c885
default to system color mode 2022-11-16 22:44:20 -08:00
Paul Wackerow
e2858c04dc
Update SpecificVersionsSection.tsx 2022-11-16 22:16:00 -08:00
Paul Wackerow
87665f0e35
Merge branch 'master' into dark-mode 2022-11-16 22:15:54 -08:00
Paul Wackerow
ecb4f6a9ce
matched button hover styling for dark toggle 2022-11-16 21:49:31 -08:00
Corwin Smith
41932f6527 remove unused file 2022-11-16 22:46:47 -07:00
Corwin Smith
f380245ca0 Merge branch 'setupDocs' into codeSnippet 2022-11-16 22:39:01 -07:00
Corwin Smith
d39c1fde78 Merge branch 'master' into setupDocs 2022-11-16 22:38:42 -07:00
Corwin Smith
73454b0028 style code blocks 2022-11-16 22:36:25 -07:00
Corwin Smith
649918abe5 inline code styles 2022-11-16 21:37:01 -07:00
Corwin Smith
1d89df8cc1
Merge pull request #32 from ethereum/latest-releases-downloads
feat: latest releases downloads logic
2022-11-17 04:22:33 +01:00
Nicolás Quiroz
832ad6bab0 chore: reduce release name & version to a single request 2022-11-17 00:14:43 -03:00
Nicolás Quiroz
5d61fc3219 Merge branch 'master' of github.com:ethereum/geth-website into latest-releases-downloads 2022-11-16 21:24:24 -03:00
Nicolás Quiroz
e398c08f76
Merge pull request #24 from ethereum/downloads-desktop
Downloads desktop
2022-11-16 21:13:55 -03:00
Corwin Smith
3643120353 change requests 2022-11-16 17:05:04 -07:00
Paul Wackerow
8e6023c60b
fix, switch to correct gropher 2022-11-16 15:55:55 -08:00
Paul Wackerow
4e25c6bf94
linting 2022-11-16 15:06:56 -08:00
Paul Wackerow
87f1d60428
implement ButtonLinkSecondary component 2022-11-16 15:03:37 -08:00
Paul Wackerow
e9ca402279
create ButtonLinkSecondary component 2022-11-16 15:00:05 -08:00
Nicolás Quiroz
d7ed9e4d5b chore: move urls to constants 2022-11-16 19:52:03 -03:00
Paul Wackerow
8016016c68
prop clean up 2022-11-16 13:11:54 -08:00
Paul Wackerow
caaedf0335
refactor to Section components to accept SVG prop 2022-11-16 13:09:38 -08:00
Paul Wackerow
d791e0a1a3
replace downloads images with SVG components 2022-11-16 12:59:39 -08:00
Paul Wackerow
980255ebcf
build downloads svg components 2022-11-16 12:57:49 -08:00
Paul Wackerow
0bbb61cfb2
replace homepage images with SVG components
allows color of SVGs to be dynamically styled based on color mode choice
2022-11-16 12:14:48 -08:00
Paul Wackerow
483a822251
build homepage svg components 2022-11-16 12:11:17 -08:00
Nicolás Quiroz
83a2c81290 feat: add latest releases downloads logic 2022-11-16 16:01:23 -03:00
storyicon
add337e0f7
rpc: support injecting HTTP headers through context (#26023)
This adds a way to specify HTTP headers per request.

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-16 15:22:12 +01:00
Mark Tyneway
b4ea2bf7dd
all: implement EIP-1153 transient storage (#26003)
Implements TSTORE and TLOAD as specified by the following EIP:

https://eips.ethereum.org/EIPS/eip-1153
https://ethereum-magicians.org/t/eip-1153-transient-storage-opcodes/553


Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2022-11-16 10:18:52 +01:00
ligi
bc90a88263
ethclient: docs, fix misleading comment (#26189)
closes #26188
2022-11-16 08:44:54 +01:00
Paul Wackerow
384ecd0248
add sun icon when in dark mode 2022-11-15 20:55:48 -08:00
Paul Wackerow
fe4014c03c
enable light/dark mode toggle button 2022-11-15 18:00:50 -08:00
Paul Wackerow
c71e2e2e23
refactor colors to use semantic tokens 2022-11-15 18:00:31 -08:00
Paul Wackerow
d43682359f
update icon svg colors to use currentColor
enabled color-mode responsiveness with "color" prop
2022-11-15 17:52:53 -08:00
Paul Wackerow
e77c1507f5
fix hamburger spelling
switch fill color to "currentColor" to allow using dark mode responsive "color" prop
2022-11-15 17:50:02 -08:00
Paul Wackerow
d93e1b5d4d
setup color palette from design system 2022-11-15 17:37:58 -08:00
Corwin Smith
48553b284e Merge branch 'master' into downloads-desktop 2022-11-15 16:10:14 -07:00
Corwin Smith
71ce846b9e Merge branch 'master' into setupDocs 2022-11-15 16:07:00 -07:00
Corwin Smith
d096d10aba add main 2022-11-15 16:05:42 -07:00
Corwin Smith
4cd65f1b22 Remove flex from DownloadsHero 2022-11-15 15:19:12 -07:00
Corwin Smith
86ada0d098
fix footer regression (#29)
* fix footer regression

* fix social icon and copyright date
2022-11-15 16:24:27 -03:00
Felix Lange
ae42148093
rpc: fix connection tracking set in Server (#26180)
rpc: fix connection tracking in Server

When upgrading to mapset/v2 with generics, the set element type used in
rpc.Server had to be changed to *ServerCodec because ServerCodec is not
'comparable'. While the distinction is technically correct, we know all
possible ServerCodec types, and all of them are comparable. So just use
a map instead.
2022-11-15 14:05:16 +01:00
Felix Lange
9afc6816d2
common/lru: add generic LRU implementation (#26162)
It seems there is no fully typed library implementation of an LRU cache.
So I wrote one. Method names are the same as github.com/hashicorp/golang-lru,
and the new type can be used as a drop-in replacement.

Two reasons to do this:

- It's much easier to understand what a cache is for when the types are right there.
- Performance: the new implementation is slightly faster and performs zero memory
   allocations in Add when the cache is at capacity. Overall, memory usage of the cache
   is much reduced because keys are values are no longer wrapped in interface.
2022-11-14 15:41:56 +01:00