The AI Works community logo The Blockchain Works community logo The Functional Works community logo The Golang Works community logo The Java Works community logo The JavaScript Works community logo The Python Works community logo The Remote Works community logo The WorksHub company logo

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to publish this job!

Login or register
to save this job!

Login or register
to save interesting jobs!

Login or register
to get access to all your job applications!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Login or register
to save articles!

Login to see the application

Engineers who find a new job through Functional Works average a 15% increase in salary 🚀

You will be redirected back to this page right after signin

Add source code reference to Code objects

Issue closed
Pull requests: 1
Contributors: 0
Level: Beginner
  • Go
Issue closed
Pull requests: 1
Contributors: 0
Level: Beginner
  • Go

On GitHub

Basic cosmos-sdk app with web assembly smart contracts
More info >

Issue posted by: 
ethanfrey's avatar

Ethan Frey

Description

Summary

Help the developer annotate where the source code for a contract is.
This is not validated, but can allow a client to easily check the code out and validate if it matches (via deterministic build system).

Problem Definition

It is important to validate the source code. Solutions like Etherscan store all this info on a centralized database. Adding a field or two can make this much more decentralized.

Proposal

We want to add two fields:

  • Source string is an optional field that, if present, must be a valid URI that can reference the source code
  • Builder string is an optional field that, if present, is a docker tag for a deterministic build system. This will not be run blindly, but the client can check it against some whitelist. For example cosmwasm-opt:0.6.0 or cosmwasm-opt:0.5.2. We need this info to properly verify (as we need the same build tag to properly reproduce).

Please update MsgStoreCode, CodeInfo, and any relevant queries


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
  • API

Use Open Source to hire or get hired

On GitHub

Basic cosmos-sdk app with web assembly smart contracts
More info >

Issue posted by: 
ethanfrey's avatar

Ethan Frey

Use Open Source to hire or get hired

Add source code reference to Code objects
View on GitHub