(hash common.Hash)
| 304 | } |
| 305 | |
| 306 | func generateMetadata(hash common.Hash) common.Hash { |
| 307 | meta := make([]byte, 32) |
| 308 | |
| 309 | copy(meta[0:ethstorage.HashSizeInContract], hash[0:ethstorage.HashSizeInContract]) |
| 310 | meta[ethstorage.HashSizeInContract] = meta[ethstorage.HashSizeInContract] | blobEmptyFillingMask |
| 311 | |
| 312 | return common.BytesToHash(meta) |
| 313 | } |
| 314 | |
| 315 | func getNetHost(t *testing.T) host.Host { |
| 316 | netw := swarmt.GenSwarm(t) |
no outgoing calls
no test coverage detected