Commit Graph

14453 Commits

Author SHA1 Message Date
qiuhaohao 01953b3470
cmd/geth: fix typo in comment (#26308) 2022-12-05 18:59:00 +01:00
Martin Holst Swende 41306b0af3
cmd/evm: output stateroot in statetest result (#26297)
This adds stateRoot as a field in the JSON output.
2022-12-05 18:58:32 +01:00
Paul Wackerow 94cb14b978
Add gap between md content and right nav [Fixes #77] (#110)
* add gap between md content and right nav

* shorten max width of right nav divider

* make DocumentNav width responsive

Existing fixed width was too large after the 2rem of padding was added. Simply making it more narrow made it unnecessarily small on larger screen sizes. Clamp sets a min of chakra-size-40, max of chakra-size-58, while targeting an eighth of the screen width.
2022-12-05 14:13:26 -03:00
Paul Wackerow 1da998a4b6
xs font size for os label on mobile [Fixes #94] (#123) 2022-12-05 13:54:38 -03:00
Nicolás Quiroz 467d139bb0 hotfix: button width 2022-12-05 13:42:09 -03:00
Nicolás Quiroz e25b87f32d
fix: remove Showing... count message (#118)
* fix: remove Showing... count message

* Update src/pages/downloads.tsx

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

* Update src/pages/downloads.tsx

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

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-12-05 13:39:12 -03:00
Paul Wackerow 1f90789712
Link section padding [Fixes #71] (#106)
* rename to LinksList

* add padding after sections in LinksList

* reduce padding between sections to 1.5rem
2022-12-05 13:37:44 -03:00
Paul Wackerow 8b1b80604e
Icon line weight patch [Fixes #70] (#105)
* add custom AddIcon and MinusIcon svgs

* switch DocsLinks to use custom +/- svgs

* fix size of +/- svgs
2022-12-05 13:31:39 -03:00
Nicolás Quiroz 0bddab847d
fix: Show older releases button width on mobile (#125) 2022-12-05 13:28:34 -03:00
Martin Holst Swende 1f35988a00
eth/tracers, core/vm: remove `time` from trace output and tracing interface (#26291)
This removes the 'time' field from logs, as well as from the tracer interface. This change makes the trace output deterministic.  If a tracer needs the time they can measure it themselves. No need for evm to do this.

Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2022-12-05 16:57:47 +01:00
Paul Wackerow 2ae5698622
Stylize active docs link [Fixes #74, Fixes #115] (#108)
* add bold for active docs link [Fixes #74]

* Add ::before indicator to active doc link

Removes bold styling per design

* Update documentation-links.yaml

Makes it so `id` is paired with either a `to` field OR a list of `items` but not both

* Updates hover styling for left docs nav

* clean up styling

Removes remaining underlines from links styled as buttons. Cleans up logic for conditionally showing the ::before pseudo element. Makes the ::before indicator slightly larger.

* tweak ::before indicator styling

* tweak ::before indicator styling
2022-12-05 12:13:47 -03:00
Håvard Anda Estensen 06632da2bb
all: assign zero after resize in implementations of heap.Interface (#26296)
This changes the Pop method to assign the zero value before
reducing slice size. Doing so ensures the backing array does not
reference removed item values.
2022-12-05 13:49:54 +01:00
Paul Wackerow e564ae46aa
adjust docs nav gap to 14px per design 2022-12-03 18:50:23 -08:00
Paul Wackerow 7e5c3cacbc
use Box instead of flex Stack for nav items
allows vertical margins of children to properly collapse into one another
2022-12-03 18:50:11 -08:00
Sina Mahmoodi 10347c6b54
core: drop legacy receipt types (#26225)
This PR drops the legacy receipt types, the freezer-migrate command and the startup check. The previous attempt #22852 at this failed because there were users who still had legacy receipts in their db, so it had to be reverted #23247. Since then we added a command to migrate legacy dbs #24028.

As of the last hardforks all users either must have done the migration, or used the --ignore-legacy-receipts flag which will stop working now.
2022-12-03 21:42:11 +01:00
Paul Wackerow 0836329a08
linting 2022-12-02 10:59:41 -08:00
Paul Wackerow 50eb37ae2f
Merge branch 'master' into algolia 2022-12-02 10:58:48 -08:00
Paul Wackerow 3a2a4b1cbf
patch responsive width [Fixes #53] (#104) 2022-12-02 15:07:58 -03:00
Paul Wackerow 41069b3d10
fix broken links (#103) 2022-12-02 14:58:46 -03:00
Paul Wackerow 367e7c6e03
remove any margin on first MD item (#109)
[Fixes #75, issue when articles start with an H2 had extra margin between the H1 section and the starting H2.
2022-12-02 13:56:44 -03:00
Avi Thour a1ff1fe755
Extracted the style objects and props into variable
Extracted the common style objects and props into variables or constants to avoid repeating the same code and make the code easier to read. 
Instead of repeating the same _hover styles in multiple places, I created a hoverStyles object and used it in each Link component.
2022-12-02 21:49:09 +05:30
Nicolás Quiroz 50bfc2053a fix: show 2 latest releases for linux 2022-12-02 13:18:00 -03:00
Paul Wackerow 123b299345
prevent Header title from wrapping [Fixes #79] (#111) 2022-12-02 11:32:30 -03:00
Oskar Haarklou Veileborg e24d6003b1
miner: fix potential goroutine leak in test (#26281) 2022-12-02 12:26:52 +01:00
Corwin Smith 271d7c9bf1
Merge pull request #102 from ethereum/downloads-page-borders
fix: downloads page borders
2022-12-01 23:55:30 +01:00
Nicolás Quiroz f2ae1511e5 fix: downloads page borders & margins 2022-12-01 16:46:42 -03:00
Nicolás Quiroz 969ad78eb3 Merge branch 'master' of github.com:ethereum/geth-website 2022-12-01 15:32:29 -03:00
Joshua 5a2a3eeacc
Fix typo (#101) 2022-12-01 15:30:56 -03:00
Joseph Cook 336a3d21d1
Merge pull request #82 from minimalsm/master
Fix Ethereum and GitHub typos
2022-12-01 11:33:18 +00:00
Joshua 27769604a3 Fix Ethereum and GitHub typos 2022-12-01 11:20:38 +00:00
Corwin Smith 0b9ff8b1e6
Create docs navigation sidebar (#40)
* crawl files and create directory tree for sidebar

* dropdown

* Working on dropdown links and styling

* setup header nav

* Styles

* DocumentNav sidebar done

* wrap up header sidebar

* setup top level nav

* update root level data and fix link bug

* doc links yaml

* nav links for docs

* remove character

* prettier

* fix build error

* MDX style

* Update src/components/UI/docs/DocsLinks.tsx

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

* Abstract LinksList component into its own file

* change requests

* AccordionButton styles

* AccordionButton styled

* fix broken links

* prettier

* prettier

* fix broken default code snippet

* fix accordion spacing

* fix gap at top of DocsNav lg

* fix but of persistent header link

* remove test content

* setup Notes and prettier

* rehype

* Note component

* Note font styling

* convert old notes to use component

* Breadcrumb cleanup and prettier

* MDXComponents -> MDComponent and documentation

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 21:06:59 -03:00
RichΛrd c1aa1db69e
p2p/discover: add config option for discv5 protocol ID (#26041)
This option is occasionally useful for advanced uses of the discv5 protocol.

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-30 22:03:34 +01:00
Joe fc52cc75e4 fix link and make image work w darkmode 2022-11-30 20:23:04 +00:00
Paul Wackerow 7d444269fd
remove old search component 2022-11-30 12:05:57 -08:00
Paul Wackerow 8ad35ea5b4
linting 2022-11-30 12:05:47 -08:00
Paul Wackerow ab06e6456b
fix color of loading indicator 2022-11-30 10:27:13 -08:00
Paul Wackerow d4b39f7fb8
fix: color of loading indicator 2022-11-30 10:25:52 -08:00
Paul Wackerow ebdd5a4fdd
add hover styling to desktop search button 2022-11-30 09:54:43 -08:00
Joe 394f1b07e6 fix links and typos 2022-11-30 17:22:24 +00:00
Corwin Smith d4c57f9174
add lastModified date (#68)
* add lastModified date

* prettier

* fix type errors on build

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 11:02:08 -03:00
Nicolás Quiroz b04fd9206f
feat: OpenPGP Signatures data (#67)
* chore: remove test data

* chore: update constants

* chore: update types

* chore: update code-bg dark color

* feat: use real data for OpenPGP Signatures table

* chore: remove unused types

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
2022-11-30 10:37:59 -03:00
Nicolás Quiroz 202f40cd97 Merge branch 'master' of github.com:ethereum/geth-website 2022-11-30 10:18:58 -03:00
Joe 01e0312c32 Merge branch 'master' of https://github.com/ethereum/geth-website 2022-11-30 10:45:54 +00:00
Joe 2d59711d13 standardize code snippets 2022-11-30 10:38:00 +00:00
Paul Wackerow dcb5891ee8
Merge pull request #66 from ethereum:update-headings-letter-spacing
chore: update headings letter spacing
2022-11-30 08:10:20 +01:00
Paul Wackerow b5e387cb82
mobile search styling tweaks 2022-11-29 19:13:35 -08:00
Paul Wackerow 3b0d117e89
debug: algolia demo keys 2022-11-29 19:12:48 -08:00
Paul Wackerow 454ce1cdb3
temporarily revert test key removal 2022-11-29 19:01:59 -08:00
Paul Wackerow b95934f292
further mobile styling 2022-11-29 18:39:02 -08:00
Paul Wackerow 5d9df5bfd4
extract keys to .env 2022-11-29 18:20:40 -08:00