Coder Social home page Coder Social logo

Comments (10)

vrtnd avatar vrtnd commented on September 18, 2024 1

Hi, thanks for pointing to the issues.
@slasher125, wdyt?

from yield-server.

0xngmi avatar 0xngmi commented on September 18, 2024 1

sorry about this, working on a new endpoint but in the meantime you can use https://yields.llama.fi/distinctID for a mapping of old ids to new ids

from yield-server.

0xngmi avatar 0xngmi commented on September 18, 2024 1

New endpoint: https://yields.llama.fi/poolsOld

from yield-server.

slasher125 avatar slasher125 commented on September 18, 2024 1

had a chat with @joaoavf on discord. will think how to best address the metadata idea, its very related to the receiptToken ting we were discussing. coming back to this early next week :)

from yield-server.

joaoavf avatar joaoavf commented on September 18, 2024

Just to give an update on my side. Thanks for the quick response @0xngmi, @slasher125 and @vrtnd 🙏

Issue is solved on my end, currently using https://yields.llama.fi/distinctID

Let me know if I can be helpful. Happy to give details on our use case and contribute with code.

from yield-server.

Amurmurmur avatar Amurmurmur commented on September 18, 2024

New endpoint: https://yields.llama.fi/poolsOld

This endpoint, gets redirected to https://defillama-datasets.s3.eu-central-1.amazonaws.com/temp/yields-poolsOld.json
It breaks when fetching in the JS client it throws CORS error

When quering from the browser the https://yields.llama.fi/pools doesnt do it.

from yield-server.

0xngmi avatar 0xngmi commented on September 18, 2024

@Amurmurmur ty for letting us know. I've updated the endpoint to attach appropriate CORS headers and also improved caching, so now requests should be significantly faster.

Please let me know if anything else needs to be changed

from yield-server.

Amurmurmur avatar Amurmurmur commented on September 18, 2024

@0xngmi Thank you for a quick respond.
Still redirecting to:
https://defillama-datasets.s3.eu-central-1.amazonaws.com/temp/yields-poolsOld.json

from yield-server.

0xngmi avatar 0xngmi commented on September 18, 2024

the redirect is working as intended, lambdas cant return more than 6MB of data so instead we store the response in s3 and return a redirect to it

from yield-server.

0xngmi avatar 0xngmi commented on September 18, 2024

with the recent changes in our infra now we improved this and we no longer have a redirect, you should get the data right away from the response

closing this issue too since the problem got solved a while ago

from yield-server.

Related Issues (18)

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.