Comments (5)
Sounds like the wrong solution to a perceived problem.
from aesophia_http.
As in the node we can publish incompatible apis at new pathes, like:
https://compiler.aepps.com/v5/...
https://compiler.aepps.com/v6/...
then we will be able to migrate smoothly to a new version of compiler, and maintain old versions of compiler if necessary. Also it can replace https://latest.compiler.aepps.com/
from aesophia_http.
As in the node we can publish incompatible apis at new pathes, like:
https://compiler.aepps.com/v5/... https://compiler.aepps.com/v6/...
then we will be able to migrate smoothly to a new version of compiler, and maintain old versions of compiler if necessary. Also it can replace https://latest.compiler.aepps.com/
if it's only about major releases we can just deploy and host these different versions of the compiler. I think that's already being addressed if I remember correctly.
@davidyuk in case we have specific URLs for each major compiler release we should be fine on that side, right? then we could close this issue here
from aesophia_http.
It would be a major change if one instance of the HTTP-compiler should include multiple versions of the compiler. It wouldn't be impossible, but it doesn't seem like the right way to do it?!
from aesophia_http.
in case we have specific URLs for each major compiler release we should be fine on that side, right?
the URL should include compiler version ('v5', 'v6' instead of 'latest' and so) but still, the user needs to select the proper compiler by himself or SDK may start to parse pragmas against the list of provided compiler versions. If we need this feature, the most user-friendly would be to do it on the compiler side though it will increase the cost of compiler maintenance.
One more use-case when the support of multiple compiler versions can help is bytecode validation: if we want to validate a contract compiled by an old version (that is on-chain now and still can be called), won't the latest compiler reject it?
from aesophia_http.
Related Issues (20)
- Endpoint to parse contract imports and pragmas HOT 1
- Integrate GH actions
- Missing CORS headers on HTTP error
- Remove timeout on compile endpoints
- Dependency on dead maven URL HOT 1
- Don't duplicate line and col in error messages HOT 1
- Remove trailing newline at the end of error messages HOT 2
- Validate bytecode against another bytecode HOT 18
- Use bytecode instead of byteCode in all cases
- Add support for compiler warnings
- "code" argument of /compile is confusing HOT 1
- Support of docker buildx and multi-plaforms HOT 1
- Duplicate keys in swagger.yaml
- Can't build a docker image HOT 1
- Inline options object in requests
- Missed definition of SophiaCallResult
- Crashing aesophia_http_api_validate:json_spec
- Out of file descriptors
- Deploy v7.0.1 to docker hub HOT 1
- Deploy v7.0.1 to latest.compiler.aepps.com HOT 8
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 aesophia_http.