Comments (6)
I was able to make it work.
Thank you for the help.
from moonbeam-docs.
hey! thanks for reporting. you're getting this error in your terminal directly after running the command? or in your development node logs?
I just tried using this command on the example contract, MyToken.sol
, in the moonbeam truffle box with truffle version v5.8.2 and was unable to reproduce the issue.
what version of truffle are you running? it might help to try installing the latest version of truffle and seeing if that does the trick.
if that doesn't work, could you please provide reproduction steps? that would be super helpful! thanks! 🙂
from moonbeam-docs.
Sorry for the late reply
I am getting this error directly in the terminal
What is the lateste version of truffle ? That way I can make sure that it's installed
from moonbeam-docs.
What is the lateste version of truffle ? That way I can make sure that it's installed
It is 5.9.0. Just so you know, you can always find the latest version on the npm page for the package where it says version: https://www.npmjs.com/package/truffle
from moonbeam-docs.
Hello, I also have version 5.9.0
This is the full error I am getting
/Users/christiancasini/node_modules/eth-block-tracker/src/polling.js:51
const newErr = new Error(PollingBlockTracker - encountered an error while attempting to update latest block:\n${err.stack}
)
^
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
undefined
at PollingBlockTracker._performSync (/Users/christiancasini/node_modules/eth-block-tracker/src/polling.js:51:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
UnhandledRejections detected
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
➜ ~
from moonbeam-docs.
@CasiniNift ok. I'm not able to reproduce the issue, so we can kind of start by going down the list to narrow it down:
- are you on linux, mac, or windows?
- how did you start up the development node? can you please share the exact command?
- when did the error occur? were you trying to interact with the node or did it randomly start appearing?
- if you were trying to interact with the node, what were you trying to do?
another idea that would certainly help is to restart your node as that generally helps with node-related issues. if you use the moonbeam truffle box and plugin to start up the node, you can simple run:
truffle run moonbeam stop && \
truffle run moonbeam remove
If you used Docker, you can take the following steps:
- run
docker container ls
to get a list of your containers - find the
purestake/moonbeam
container and grab the container ID - run
docker stop CONTAINER_ID && docker rm CONTAINER_ID
(just replaceCONTAINER_ID
with the actual ID of the container)
This will stop the container, then you can start the node back up using the command you originally started it up with. There are directions on the Moonbeam Development Node page of our docs site, just in case.
from moonbeam-docs.
Related Issues (19)
- Get syncing info always return null HOT 5
- Tracing node instructions incorrectly recommend `--execution native` HOT 1
- Polkadot.js does not work with Brave Shield HOT 1
- AmsterDOT Bounty 1 - Launch a Cross-Chain Asset owned by a Smart Contract
- AmsterDOT Moonbeam Bounty 2 - Build a DApp that Uses XCM HOT 2
- Add Ankr to Endpoint Providers HOT 5
- ETH-Shanghai Hackathon Best Moonbeam Project Bounty HOT 3
- EvmError with Forge for any call to xcDOT on Moonbeam HOT 4
- [help] Is there any XC-20s Cross-Chain Transfer tutorial doc with local machine enviroment HOT 2
- {target=_blank) shown on foundry page HOT 2
- Add Getblock public and dedicated endpoints HOT 1
- Remove `eth_newPendingTransactionFilter`
- Change `--state-cache-size`
- Chopsticks docs suggestion HOT 2
- Update Full Node flags/options HOT 2
- [Feedback] Deploy Contracts with Truffle - /builders/build/eth-api/dev-env/truffle/ HOT 4
- [Feedback] Send Transactions & Deploy Contracts with Web3.js - /builders/build/eth-api/libraries/web3js/ HOT 3
- Instructions should only check one mapping HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonbeam-docs.