Code Monkey home page Code Monkey logo

explorer's People

Contributors

derrandz avatar evalir avatar luyzdeleon avatar nymd avatar pabelnl avatar posadallano avatar pseudomera avatar wgarcia4190 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

explorer's Issues

Does not start: Allocation failed - JavaScript heap out of memory

Describe the bug
When i try to run explorer locally, it fails with error Allocation failed - JavaScript heap out of memory

To Reproduce
Steps to reproduce the behavior:

  1. Git clone
  2. npm i
  3. npm run start -- --max_old_size_space=8912

Expected behavior
The explorer should start on localhost:3000

Logs

โžœ  pocker-explorer git:(develop) 
<--- Last few GCs --->

[109854:0x49cd020]    36138 ms: Mark-sweep 2022.3 (2051.0) -> 2021.3 (2051.0) MB, 1079.7 / 0.0 ms  (average mu = 0.198, current mu = 0.116) allocation failure scavenge might not succeed
[109854:0x49cd020]    37650 ms: Mark-sweep 2022.7 (2051.5) -> 2021.7 (2051.5) MB, 1376.6 / 0.0 ms  (average mu = 0.146, current mu = 0.089) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x140e819]
Security context: 0x222e91c808d1 <JSObject>
    1: append [0xeccf744bc21] [/home/tim/workspace/chainstack/pocker-explorer/node_modules/@babel/generator/lib/buffer.js:~61] [pc=0x26749017d3dc](this=0x0042e12c0219 <Buffer map = 0x1f156aba8029>,0x2a94782c6d31 <String[#1]: ,>)
    2: commaSeparator [0xeccf7455b21] [/home/tim/workspace/chainstack/pocker-explorer/node_modules/@babel/generator/lib/printer.js:~499]...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa1ae50 node::Abort() [node]
 2: 0xa1b25c node::OnFatalError(char const*, char const*) [node]
 3: 0xb9b20e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xb9b589 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xd58815  [node]
 6: 0xd58ea6 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 7: 0xd65765 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xd66615 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xd690cc v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xd2faeb v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x107221c v8::internal::Runtime_AllocateInOldGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x140e819  [node]

Desktop (please complete the following information):

  • Node.JS: v12.22.12
  • Version [latest develop]

Security Policy violation SECURITY.md

This issue was automatically created by Allstar.

Security Policy Violation
Security policy not enabled.
A SECURITY.md file can give users information about what constitutes a vulnerability and how to report one securely so that information about a bug is not publicly visible. Examples of secure reporting methods include using an issue tracker with private issue support, or encrypted email with a published key.

To fix this, add a SECURITY.md file that explains how to handle vulnerabilities found in your repository. Go to https://github.com/pokt-foundation/explorer/security/policy to enable.

For more information, see https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository.


This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Search component

Initial project setup + initial components + Search component

Use testnet.gateway.pokt.network instead of mainnet

After having implemented the QoS over the gateway feature, we were stuck using the mainnet endpoint through the gateway because there was no app staked for testnet.

Make sure to use a testnet endpoint for testnet deployments

Create Datasource interface

Create a generic interface to be able to retrieve data from the selected network. The following methods should be contained:

getHeight()
getAccount(id)
getTransaction(id)
getBlock(id)
getLatestBlocks(count)
getLatestTransactions(count)

Google Analytics

Explorer testnet:

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-170464047-2"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-170464047-2'); </script>

Touch ups

Come and help us grow the POKT community alongside the protocol. Join our social media cannels.
cannels should be channels

FAQ// DEV PORTAL should be FAQ / Dev Portal

Road Map? should be Road Map

remove:
iOS SDK
Android SDK

Hook up footer links where obvious

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.