Commit Graph

14489 Commits

Author SHA1 Message Date
Felix Lange 193f350eb9
core/rawdb: improve freezerTable.Sync (#26245)
While investigating #22374, I noticed that the Sync operation of the
freezer does not take the table lock. It also doesn't call sync for all files
if there is an error with one of them. I doubt this will fix anything, but
didn't want to drop the fix on the floor either.
2022-11-24 10:50:28 +01:00
Paul Wackerow 865802bdff
Limit SVG width on mobile [Fixes #38] (#41)
* fix horizontal scroll on mobile downloads

* padding change requests

* fix: DownloadsHero padding

* fix: border color

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-11-23 22:29:03 -03:00
Paul Wackerow bd80434b83
Mobile menu (#39)
* add MobileMenu component

* implement MobileMenu via Header

* close menu with links

* move all menu logic to MobileMenu component

* refactor MobileMenu to use Modals

* remove unneeded motion params

* remove animation on fixed modal

* abstract out a HeaderButtons component

* abstract out Search component

* move BORDER_WIDTH to constants

* hover fixes

* change requests

* fix: Link should wrap header buttons

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
2022-11-23 16:57:49 -03:00
Paul Wackerow f09d02aecd
extract and merge Code component
Merges "Code" component from within MDXComponents to recently added UI/docs/Code.tsx, merging and cleaning up conflicts.

Moves all syntax highlighter logic to this component.
2022-11-23 12:53:37 -05:00
Paul Wackerow 575b1b507b
update theme styles 2022-11-23 12:50:44 -05:00
Paul Wackerow 3620978f69
Merge branch 'master' into markdown-styling 2022-11-23 12:07:26 -05:00
Nicolás Quiroz 5364cb731e
Merge pull request #33 from ethereum/codeSnippet
Code snippet
2022-11-23 13:19:03 -03:00
Corwin Smith 790cf04347
Add breadcrumbs to docs (#37)
* Add breadcrumbs to docs

* change BreadcrumbLink to NextLink

* Update src/components/docs/Breadcrumbs.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>

* Update src/components/docs/Breadcrumbs.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-23 11:14:19 -03:00
Marius van der Wijden ec2ec2d08e
core: implement EIP-3651, warm coinbase (#25819)
Implements EIP-3651, "Warm Coinbase", for Shanghai hardfork. Specification: https://eips.ethereum.org/EIPS/eip-3651.
2022-11-22 22:39:52 +01:00
Paul Wackerow 0c02294710
Merge branch 'master' into markdown-styling 2022-11-22 12:43:02 -08:00
Corwin Smith 6205ba69d8 move text styles out of Code.tsx into textStyles 2022-11-21 21:06:08 -07:00
Corwin Smith 282b4ae0ea Merge branch 'master' into codeSnippet 2022-11-21 20:47:18 -07:00
Paul Wackerow b382a5ad1a
update link and header styling 2022-11-21 18:21:05 -08:00
Paul Wackerow f6962d5b85
update code blocks 2022-11-21 18:19:32 -08:00
Paul Wackerow 46c2aa3cea
Update MDXComponents.tsx 2022-11-21 18:18:19 -08:00
Paul Wackerow 963c1b1669
yarn add remark-gfm chakra-ui-markdown-renderer 2022-11-21 18:17:03 -08:00
Corwin Smith 20c0a6b2b3
fix footer padding issue (#35) 2022-11-21 21:55:35 -03:00
Corwin Smith 6ff05ed817
PageMetaData component (#30)
* create PageMetaData component

* small clean up

* add page descriptions

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-21 21:53:51 -03:00
Paul Wackerow 7b47d59744
dynamically get prog lang name 2022-11-21 15:41:38 -08:00
Paul Wackerow 0ab1fdcb9d
fix naming collision 2022-11-21 15:39:51 -08:00
Paul Wackerow cf0dab7ce0
Update MDXComponents.tsx 2022-11-21 15:37:40 -08:00
Paul Wackerow cfc24e4bf8
add `code` blocks styling 2022-11-21 15:26:37 -08:00
Paul Wackerow ebdb7a852e
update MDX header styles 2022-11-21 15:25:15 -08:00
Paul Wackerow dfec5f8265
update header textStyles per design system 2022-11-21 15:24:27 -08:00
Paul Wackerow bc3b95b0aa
add font foundations 2022-11-21 15:24:08 -08:00
kumavis 64dccf7aa4
cmd/utils: log path used when checking disk space (#26212)
This change logs the path checked when encountering low disk space.
2022-11-21 10:18:18 +01:00
Martin Holst Swende 6975f09998
eth/catalyst: make tests less time-sensitive (#26201)
This makes a couple of sometimes-failing tests less brittle.
2022-11-21 09:52:12 +01:00
Nicolás Quiroz e1e2043a50
Merge pull request #28 from ethereum/setupDocs
Setup docs template
2022-11-17 18:37:07 -03:00
Corwin Smith 5c949d0869 fix a bunch of paths 2022-11-17 12:50:52 -07:00
Corwin Smith e0de40b8dc add design system theme colors 2022-11-17 12:32:59 -07:00
Corwin Smith ca02fe408e Merge branch 'setupDocs' into codeSnippet 2022-11-17 12:24:42 -07:00
Corwin Smith ee03bd378e Merge branch 'master' into setupDocs 2022-11-17 12:24:20 -07:00
Nicolás Quiroz e453da26d0
Merge pull request #31 from wackerow/dark-mode
Dark mode
2022-11-17 15:46:00 -03:00
Paul Wackerow 94fbb7fdd5
replace image with Gopher component 2022-11-17 09:29:20 -08:00
Corwin Smith 7c3690465d Merge branch 'master' into setupDocs 2022-11-17 09:46:41 -07:00
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