Code Monkey home page Code Monkey logo

cloth's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloth's Issues

Clojure/clojurescript tests fail

with solidity 0.4.17

Clojure

lein test

Caused by: java.lang.RuntimeException: Unable to resolve symbol: issuer in this context

Code fails here, because functions are not being defined
https://github.com/pelle/cloth/blob/master/test/cloth/contracts_test.cljc#L80

====
Clojurescript

node --version
v8.4.0

lein doo chrome test

... done. Elapsed 21.346242451 seconds java.io.IOException: Cannot run program "karma": error=2, No such file or directory

Might be some node issue.

leveldbjni-all error when including cloth

Hi, an interesting error when including cloth 0.3.1 in my boot.jar:

java.util.concurrent.ExecutionException: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact org.ethereum:leveldbjni-all:jar:1.18 in clojars (https://clojars.org/repo/)
org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact org.ethereum:leveldbjni-all:jar:1.18 in clojars (https://clojars.org/repo/)

I suspect this is something to do with dependencies set up in ethereumj; a related comment in the ethereumj issues now suggests upgrading to release 1.3.0.

ethereum/ethereumj#344

Any suggestions as to other possible fixes?

Thanks!

encoding of string to bytes for function parameters.

Apologies for the lose information I have no gone into the depth of the why this is occurring. But I suppose I should read the spec at some point ๐Ÿ‘

Test Contract:

pragma solidity ^0.4.0;
contract Test {
    bytes32 public testValue;

    function Test(bytes32 val) {
        testValue = val;
    }
}

create this contract with the parameter: 3071361e-c7db-4602-b568-59d434c7d5ce

it is encoded as

0x333631652d633764622d343630322d623536382d353964343334633764356365
which I believe to be incorrect.

it should be:
0x33303731333631652d633764622d343630322d623536382d3539643433346337
you can check this out in browser-solidity.

cheers

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.