Comments (3)
Thanks, but adding values (i.e. t.Int = p.Int
) is not intended here.
BuildType()
is meant to construct a type definition based on values, but returned primitives are not supposed to contain any values. When you output the type tree it has the same structure as a normal type definition in a Michelson script.
We use BuildType only to construct a conforming type tree for packed data (PACK does not store type info currently) which can later be used to process unpacked values in the same way we process normal values.
from tzindex.
Thanks echa, for the clarification. I was expecting something else, since I was using it differently.
from tzindex.
Can you explain your use case? We're working on a separate Go library that's supposed to contain these building blocks in a composable way.
from tzindex.
Related Issues (20)
- out of sync 6.0.3 HOT 4
- Sync have stopped on block 1212419 HOT 6
- Support for edo protocol HOT 2
- Micheline INT prim HOT 1
- Florencenet Update
- Tezos v9-release with florence/granada not working HOT 4
- Tzindex does not read rpc values from config file HOT 1
- Cannot access tzindex server HOT 1
- Bind to external access HOT 1
- Is baker capacity accurate in V12? HOT 5
- block init: empty metadata in RPC response (maybe you are not using an archive node) HOT 4
- balance 0 is smaller than outgoing amount 374 on ithacanet HOT 9
- [Bug] Parsing of operation list JSON fails if "kind" is not the first field. HOT 1
- API endpoint for current and historical prices of FA1.2 and FA2 tokens HOT 6
- Contract NamedBigmaps method returns invalid result HOT 2
- protocol support > 14 HOT 9
- CLI params not accepted when config.json is in path HOT 2
- [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x76cc6f] HOT 1
- tzindex path change leads to broken data HOT 3
- Getting error while on build command HOT 28
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 tzindex.