FIL-Builders / onramp-contracts

Prototyping smart contracts piping data to the filecoin network
0 stars 0 forks source link

On ramp client not initiating deals #13

Open snissn opened 2 days ago

snissn commented 2 days ago

After using client.bash to send data i don't think I'm seeing any deals proposed.

xchain server:

2024/10/21 12:38:22 Listening for data ready events on 0xD54D20f5aCFd540EF6ae38a4D95E537ffaefDf93
2024/10/21 12:38:30 Sending offer 67 for aggregation
2024/10/21 12:38:30   Offer:
2024/10/21 12:38:30     CommP: [1 129 226 3 146 32 32 244 150 77 253 98 133 149 107 147 11 161 0 145 130 95 109 98 12 86 159 16 135 57 92 234 48 37 195 40 192 192 26]
2024/10/21 12:38:30     Size: 8388608
2024/10/21 12:38:30     Location: http://localhost:5077/get?id=1
2024/10/21 12:38:30     Amount: 1
2024/10/21 12:38:30     Token: 0xaEE9C9E8E4b40665338BD8374D8D473Bd014D1A1
2024/10/21 12:38:30 error creating aggregate: invalid dealSize: padded piece size must be a power of 2

xchain client:

$ ./client.bash randomfile 0xaEE9C9E8E4b40665338BD8374D8D473Bd014D1A1 1
> xchain/xchain client offer baga6ea4seaqpjfsn7vrilfllsmf2caerqjpw2yqmk2prbbzzltvdajodfdamagq 8388608 http://localhost:5077/get?id=1 0xaEE9C9E8E4b40665338BD8374D8D473Bd014D1A1 1 
MakeOffer called with cidStr: baga6ea4seaqpjfsn7vrilfllsmf2caerqjpw2yqmk2prbbzzltvdajodfdamagq, sizeStr: 8388608, location: http://localhost:5077/get?id=1, token: 0xaEE9C9E8E4b40665338BD8374D8D473Bd014D1A1, amountStr: 1
Waiting for transaction: 0x86a5d11e1eec0fa54654d42fe4a91d6d64dfe872c1f5817bdd0e60f25e11920f
2024/10/21 12:38:30 Tx 0x86a5d11e1eec0fa54654d42fe4a91d6d64dfe872c1f5817bdd0e60f25e11920f included: 1
ZenGround0 commented 1 day ago

2024/10/21 12:38:30 error creating aggregate: invalid dealSize: padded piece size must be a power of 2

looks like a problem