Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
getPastEvents() no regresa para plygon

Tengo un código que funciona perfectamente en Ethereum (Ropsten Testnet). Recientemente migré a Polygon Testnet (mumbai). La implementación se realizó sin problemas ( consulte Implementación en Polyscan )

Puedo jugar con mi SmartContract usando Remix. Los eventos se están disparando ( consulte el registro de eventos ).

Tengo el siguiente código en mi Dapp, que obtiene los eventos con éxito de Ropsten, pero no devuelve nada para Polygon-Testnet (la dirección del contrato es correcta). ¿Qué estoy haciendo mal aquí? ¿Polygon usa las mismas API JS Web3 (web3 ^ 1.3.6)?

 debugger; let pastEventsAdded = await AccountsContract.getPastEvents( "AccountAdded", ev ); debugger;
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!