Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

payable dapple test #380

@nmushegian

Description

@nmushegian

Also I tried to override the fallback function to make it payable, and that didn't work

contract FakeJoiner is Tester {
 function join(uint256 channelId, uint256 value) returns (bool) {
   return DataMarket(_t).join.value(value)(channelId);
 }
 
 // didn't work
 function() payable {}

 // works
 function getMoney() payable {}
}

so instead I just made a getMoney function, which works

nikolai 3:43 PM
the fallback in dapple test should be extended to be payable and forward value `function() payable { _target.call.value(msg.value)(msg.data) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions