I'm encoding parameters on-chain to pass into new OZ Beacon proxy instances.
For verification purposes, I need to encode the same arguments via ethers.js
The solidity function:
abi.encodeWithSignature(string memory signature, ...) returns (bytes memory)
And an ethers function that I tried, but returns an undesired result (longer, does not start with function selector)
const abiCoder = ethers.utils.defaultAbiCoder;
const encoded = abiCoder.encode(...