Skip to content

Commit de456f8

Browse files
committed
fix: passing msg.value
1 parent 84ec161 commit de456f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/ModuleManager.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ contract FactoryTrampolin {
2626
bool success;
2727
/* solhint-disable no-inline-assembly */
2828
assembly ("memory-safe") {
29-
success := call(gas(), factory, 0, add(callOnFactory, 0x20), mload(callOnFactory), 0, 32)
29+
success := call(gas(), factory, callvalue(), add(callOnFactory, 0x20), mload(callOnFactory), 0, 32)
3030
moduleAddress := mload(0)
3131
}
3232
if (!success) {

0 commit comments

Comments
 (0)