Is this possible?
mapping(address => mapping(uint => customStruct[])) someName
Because I cannot debug and find my mistake… is there not enough gas, or it crashes on this code, while trying to fill someName
.
For example:
uint length = someName[msg.sender][1].length;
someName[msg.sender][1][length].timestamp = block.timestamp;
Best Answer
I suppose customStruct is a struct with timestamp property. Then your code should work. However here my test scenario:
Which run with
dapple test --report
outputs the following:...but this is very important