Was able to solve it by upgrading to latest SUI version.
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch main sui
My current version is sui 1.31.0-e8b092e3fbd6
You might be having sui 1.29.2-homebrew
Was able to solve it by upgrading to latest SUI version.
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch main sui
My current version is sui 1.31.0-e8b092e3fbd6
You might be having sui 1.29.2-homebrew