Skip to content

Instantly share code, notes, and snippets.

(dlv) stack
0 0x0000000004ea7d7d in github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch
at /Users/sjain68/go/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:71
1 0x0000000004e8fbe9 in github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Launch
at /Users/sjain68/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:84
2 0x0000000004e915f4 in github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Invoke
at /Users/sjain68/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:197
3 0x0000000004e9097b in github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
at /Users/sjain68/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:155
4 0x0000000004eff767 in github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
$ configtxlator proto_decode --input delta_update.pb --type common.ConfigUpdate
{
"channel_id": "tracktrace",
"isolated_data": {},
"read_set": {
"groups": {
"Orderer": {
"groups": {
"Biotor": {
"groups": {},
$ configtxlator proto_decode --input config_block.pb --type common.Block
{
"data": {
"data": [
{
"payload": {
"data": {
"config": {
"channel_group": {
"groups": {
{
"name": "first-contract",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
"integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
{
"name": "first-contract",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.5.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
"integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
{
"name": "first-contract",
"version": "0.0.1",
"description": "My First Smart Contract",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=12",
"npm": ">=6"
},
In file included from ../ext/completion_queue.cc:20:
In file included from /Users/sjain68/Library/Caches/node-gyp/12.16.3/include/node/node.h:67:
/Users/sjain68/Library/Caches/node-gyp/12.16.3/include/node/v8.h:633:54: warning: unused parameter 'source' [-Wunused-parameter]
V8_INLINE static void Copy(const Persistent<S, M>& source,
^
/Users/sjain68/Library/Caches/node-gyp/12.16.3/include/node/v8.h:634:53: warning: unused parameter 'dest' [-Wunused-parameter]
NonCopyablePersistent* dest) {
^
/Users/sjain68/Library/Caches/node-gyp/12.16.3/include/node/v8.h:653:54: warning: unused parameter 'source' [-Wunused-parameter]
static V8_INLINE void Copy(const Persistent<S, M>& source,
$ npm test
> boilerplate-contract@0.0.1 pretest /Users/sjain68/go/src/github.com/siddjain/phf/boilerplate-contract
> npm run lint
> boilerplate-contract@0.0.1 lint /Users/sjain68/go/src/github.com/siddjain/phf/boilerplate-contract
> tslint -c tslint.json 'src/**/*.ts'
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13527 100 13527 0 0 72835 0 --:--:-- --:--:-- --:--:-- 73118
=> Downloading nvm from git to '/Users/sjain68/.nvm'
=> Cloning into '/Users/sjain68/.nvm'...
remote: Enumerating objects: 290, done.
remote: Counting objects: 100% (290/290), done.
remote: Compressing objects: 100% (257/257), done.
remote: Total 290 (delta 35), reused 97 (delta 20), pack-reused 0
abricotine metashapepro
abstract metasploit
acquia-dev metaz
activitywatch meteorologist
actual-odbc-pack mgba
adafruit-arduino mia-for-gmail
adium michaelvillar-timer
adobe-acrobat-reader microblog
adoptopenjdk microsoft-edge
aether microsoft-excel