How did Congress attempt to resolve the dispute between the North and the South regarding slavery in the territories?

by repealing the Wilmot Proviso

by adopting the Compromise of 1850

by adopting the Wilmot Proviso

by repealing the Compromise of 1850